refactor(daemon): More helpful and less noisy logging

This commit is contained in:
Nick Bolton
2025-03-14 11:31:24 +00:00
parent e8ea9f53ee
commit 16517ca541
6 changed files with 69 additions and 61 deletions

View File

@ -90,7 +90,7 @@ DWORD MSWindowsProcess::waitForExit()
{
const auto kMaxWaitMilliseconds = 10000;
LOG_INFO("waiting for process to exit, pid: %lu", m_info.dwProcessId);
LOG_DEBUG("waiting for process to exit, pid: %lu", m_info.dwProcessId);
if (WaitForSingleObject(m_info.hProcess, kMaxWaitMilliseconds) != WAIT_OBJECT_0) {
LOG_ERR("process did not exit within the expected time");
TerminateProcess(m_info.hProcess, 1);