* logger: explicit allow log output

This commit is contained in:
hagen 2016-03-28 14:00:00 +00:00
parent cc25b22f11
commit 38103aaac5
4 changed files with 5 additions and 3 deletions

View file

@ -43,6 +43,7 @@ namespace api
i2p::log::Logger().SendTo (logStream);
else
i2p::log::Logger().SendTo (i2p::fs::DataDirPath (i2p::fs::GetAppName () + ".log"));
i2p::log::Logger().Ready();
LogPrint(eLogInfo, "API: starting NetDB");
i2p::data::netdb.Start();
LogPrint(eLogInfo, "API: starting Transports");