mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Improved logging of SIGHUP and cmdReloadConfig
This commit is contained in:
parent
af9140d8c4
commit
f5be6f836e
3 changed files with 4 additions and 1 deletions
|
|
@ -110,6 +110,8 @@ void ServerLogger::rotateLogs()
|
|||
{
|
||||
if (!logFile)
|
||||
return;
|
||||
|
||||
flushBuffer();
|
||||
|
||||
logFile->close();
|
||||
logFile->open(QIODevice::Append);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue