mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
* implement --loglevel option
This commit is contained in:
@@ -110,9 +110,10 @@ namespace i2p
|
||||
logfile_path.append("\\i2pd.log");
|
||||
#endif
|
||||
StartLog (logfile_path);
|
||||
}
|
||||
else
|
||||
} else {
|
||||
StartLog (""); // write to stdout
|
||||
}
|
||||
g_Log->SetLogLevel(i2p::util::config::GetArg("-loglevel", "info"));
|
||||
}
|
||||
|
||||
LogPrint(eLogInfo, "Daemon: staring HTTP Server");
|
||||
|
||||
Reference in New Issue
Block a user