1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 08:14:15 +00:00

reopen log upon daemon start

This commit is contained in:
orignal 2016-11-17 22:44:02 -05:00
parent b4a9d4df8c
commit cd8169c0a5

View File

@ -72,6 +72,7 @@ namespace log {
{ {
if (!m_IsRunning) if (!m_IsRunning)
{ {
Reopen ();
m_IsRunning = true; m_IsRunning = true;
m_Thread = new std::thread (std::bind (&Log::Run, this)); m_Thread = new std::thread (std::bind (&Log::Run, this));
} }