Change session ID info log message to DEBUG2 (#7284)

* Change error to debug2 and add additional info

* Update ChangeLog

* Improved wording in ChangeLog for 1.14.7

* Apply markdown formatting to ChangeLog

* Fixed merge gone wrong

* Fixed further merge mistake

* Fixed order of new ChangeLog lines

---------

Co-authored-by: Nick Bolton <nick@symless.com>
This commit is contained in:
Serhii Hadzhilov
2023-09-26 14:49:18 +03:00
committed by GitHub
parent ed4680264a
commit 7d803071ca
2 changed files with 8 additions and 9 deletions

View File

@ -70,7 +70,8 @@ MSWindowsSession::isProcessInSession(const char* name, PHANDLE process = NULL)
if (!pidToSidRet) {
// if we can not acquire session associated with a specified process,
// simply ignore it
LOG((CLOG_ERR "could not get session id for process id %i", entry.th32ProcessID));
LOG((CLOG_DEBUG2 "could not get session id for process: %i %s, code=%i",
entry.th32ProcessID, entry.szExeFile, GetLastError()));
gotEntry = nextProcessEntry(snapshot, &entry);
continue;
}