Skip to content

Commit

Permalink
Change session ID info log message to DEBUG2 (deskflow#7284)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
SerhiiGadzhilov and nbolton authored Sep 26, 2023
1 parent ed46802 commit 7d80307
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
14 changes: 6 additions & 8 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
# 1.14.7

Bug fixes:

- #7265 Remove extra key press traces for Linux

Enhancements:

- #7254 Bind client to a network interface with --address
- #7262 Backward compatibility for M1 and M2 builds
- #7254 Ability to bind client to a network interface
- #7263 Change name of Flatpak uploaded to snapshots
- #7269 Reword file drag drop error to debug message
- #7274 Only build necessary binaries
- #7277 Change start errors to fatal
- #7265 Remove obtrusive Linux key press log messages
- #7269 Change file drag drop ERROR to DEBUG message
- #7274 Support env var to build unified core binary
- #7277 Change all errors that cause crash are FATAL
- #7284 Change session ID info log message to DEBUG2

CI changes:

Expand Down
3 changes: 2 additions & 1 deletion src/lib/platform/MSWindowsSession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7d80307

Please sign in to comment.