private static void Main(string[] args) { XmlConfigurator.Configure(); Logger.Info("Started Mqtt2Sharp Tsdb Console Application"); var service = new Mqtt2DbService(); service.Init(); Console.ReadLine(); service.Stop(); Logger.Info("Stopped Mqtt2Sharp Tsdb Console Application"); }