From b4a9d4df8c023447d09b63d4c7e97545338de020 Mon Sep 17 00:00:00 2001 From: orignal Date: Thu, 17 Nov 2016 22:11:34 -0500 Subject: [PATCH] fixed crash in daemon mode --- Daemon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Daemon.cpp b/Daemon.cpp index 490277fc..a007995f 100644 --- a/Daemon.cpp +++ b/Daemon.cpp @@ -113,7 +113,6 @@ namespace i2p } else { // use stdout -- default } - i2p::log::Logger().Start(); LogPrint(eLogInfo, "i2pd v", VERSION, " starting"); LogPrint(eLogDebug, "FS: main config file: ", config); @@ -246,6 +245,7 @@ namespace i2p bool Daemon_Singleton::start() { + i2p::log::Logger().Start(); LogPrint(eLogInfo, "Daemon: starting NetDB"); i2p::data::netdb.Start();