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();