mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-08 22:13:48 +01:00
reopen log upon daemon start
This commit is contained in:
parent
b4a9d4df8c
commit
cd8169c0a5
1 changed files with 1 additions and 0 deletions
1
Log.cpp
1
Log.cpp
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue