mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
* for compatibility - leave --log option with arg
This commit is contained in:
parent
ed44d23afb
commit
deb87f1d4c
2 changed files with 7 additions and 3 deletions
|
@ -78,7 +78,11 @@ namespace i2p
|
|||
i2p::context.Init ();
|
||||
|
||||
i2p::config::GetOption("daemon", isDaemon);
|
||||
i2p::config::GetOption("log", isLogging);
|
||||
// temporary hack
|
||||
std::string logs = "";
|
||||
i2p::config::GetOption("log", logs);
|
||||
if (logs != "")
|
||||
isLogging = true;
|
||||
|
||||
uint16_t port; i2p::config::GetOption("port", port);
|
||||
LogPrint(eLogInfo, "Daemon: accepting incoming connections at port ", port);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue