mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
write to log through the separate thread
This commit is contained in:
parent
164d3566e3
commit
d91691c344
4 changed files with 75 additions and 47 deletions
|
@ -113,7 +113,7 @@ namespace i2p
|
|||
} else {
|
||||
// use stdout -- default
|
||||
}
|
||||
i2p::log::Logger().Ready();
|
||||
i2p::log::Logger().Start();
|
||||
|
||||
LogPrint(eLogInfo, "i2pd v", VERSION, " starting");
|
||||
LogPrint(eLogDebug, "FS: main config file: ", config);
|
||||
|
@ -351,6 +351,7 @@ namespace i2p
|
|||
}
|
||||
#endif
|
||||
i2p::crypto::TerminateCrypto ();
|
||||
i2p::log::Logger().Stop();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue