set correct log level for console

This commit is contained in:
orignal 2016-02-02 12:16:29 -05:00
parent 64b2a32c9a
commit 3eeee1b08d
2 changed files with 9 additions and 1 deletions

View file

@ -153,7 +153,9 @@ namespace i2p
}
StartLog (logfile);
}
g_Log->SetLogLevel(loglevel);
else
StartLog ("");
SetLogLevel(loglevel);
bool http; i2p::config::GetOption("http.enabled", http);
if (http) {