#6372 Make service messages more user friendly

This commit is contained in:
Nick Bolton 2018-07-28 02:53:45 +01:00
parent 0e0c701b61
commit 555090c7d2
2 changed files with 3 additions and 3 deletions

View File

@ -452,7 +452,7 @@ MSWindowsWatchdog::shutdownProcess(HANDLE handle, DWORD pid, int timeout)
GetExitCodeProcess(handle, &exitCode);
if (exitCode != STILL_ACTIVE) {
// yay, we got a graceful shutdown. there should be no hook in use errors!
LOG((CLOG_INFO "process %d was shutdown gracefully", pid));
LOG((CLOG_DEBUG "process %d was shutdown gracefully", pid));
break;
}
else {

View File

@ -392,8 +392,8 @@ DaemonApp::handleIpcMessage(const Event& e, void*)
LOG((CLOG_DEBUG "ipc hello, type=%s", type.c_str()));
#if SYSAPI_WIN32
String watchdogStatus = m_watchdog->isProcessActive() ? "ok" : "error";
LOG((CLOG_INFO "watchdog status: %s", watchdogStatus.c_str()));
String watchdogStatus = m_watchdog->isProcessActive() ? "active" : "idle";
LOG((CLOG_INFO "service status: %s", watchdogStatus.c_str()));
#endif
m_ipcLogOutputter->notifyBuffer();