var di = require('di'); var injector = new di.Injector(); var config = injector.get(require('./src/DillerConfig')); config.configureLogging('mqtt'); var dillerMqtt = injector.get(require('./src/mqtt/DillerMqtt')); dillerMqtt.run();