* migration

This commit is contained in:
hagen 2016-03-27 00:17:29 +00:00
parent 17fb419fb1
commit c57b13d922
5 changed files with 30 additions and 31 deletions

View file

@ -75,7 +75,7 @@ namespace i2p
i2p::config::SetOption("log", std::string ("file"));
#endif
bool ret = Daemon_Singleton::start();
if (ret && IsLogToFile ())
if (ret && i2p::log::Logger().GetLogType() == eLogFile)
{
// TODO: find out where this garbage to console comes from
SetStdHandle(STD_OUTPUT_HANDLE, INVALID_HANDLE_VALUE);