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
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue