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

@ -65,7 +65,7 @@ void SignalHandler::internalSigHupHandler()
std::cerr << "Received SIGHUP" << std::endl;
#endif
logger->logMessage("Received SIGHUP");
logger->logMessage("Received SIGHUP, rotating logs and reloading configuration", this);
logger->rotateLogs();
settingsCache->sync();