Improved logging of SIGHUP and cmdReloadConfig

This commit is contained in:
Fabio Bas 2015-07-03 09:09:41 +02:00
parent af9140d8c4
commit f5be6f836e
3 changed files with 4 additions and 1 deletions

View file

@ -110,6 +110,8 @@ void ServerLogger::rotateLogs()
{
if (!logFile)
return;
flushBuffer();
logFile->close();
logFile->open(QIODevice::Append);