refactor: Change log level for active desktop query to debug
This commit is contained in:
parent
e420b9b986
commit
524c3b0e7b
1 changed files with 2 additions and 3 deletions
|
|
@ -596,10 +596,9 @@ void MSWindowsWatchdog::getActiveDesktop(LPSECURITY_ATTRIBUTES security)
|
|||
MSWindowsSession session;
|
||||
std::string name = session.getActiveDesktopName();
|
||||
if (name.empty()) {
|
||||
LOG((CLOG_CRIT "failed to get active desktop name"));
|
||||
LOG((CLOG_DEBUG "no active desktop in current session"));
|
||||
} else {
|
||||
std::string output = deskflow::string::sprintf("activeDesktop:%s", name.c_str());
|
||||
LOG((CLOG_INFO "%s", output.c_str()));
|
||||
LOG((CLOG_INFO "active desktop name: %s", name.c_str()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue