mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
oveeride --log for windows
This commit is contained in:
parent
38b6c12153
commit
0493a321d2
3 changed files with 7 additions and 5 deletions
|
@ -27,7 +27,9 @@ namespace i2p
|
|||
SetConsoleOutputCP(1251);
|
||||
setlocale(LC_ALL, "Russian");
|
||||
if (!i2p::win32::StartWin32App ()) return false;
|
||||
|
||||
|
||||
// override log
|
||||
i2p::config::SetOption("log", std::string ("file"));
|
||||
bool ret = Daemon_Singleton::start();
|
||||
if (ret && IsLogToFile ())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue