Changed log level of two messages. Now won't spew about reading
window properties and will report connection failure at DEBUG instead of DEBUG1.
This commit is contained in:
parent
f8240d97be
commit
0347bb1667
|
@ -546,7 +546,7 @@ CClient::runServer()
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
catch (XSocketConnect& e) {
|
catch (XSocketConnect& e) {
|
||||||
LOG((CLOG_DEBUG1 "failed to connect to server: %s", e.what()));
|
LOG((CLOG_DEBUG "failed to connect to server: %s", e.what()));
|
||||||
|
|
||||||
// failed to connect. if not camping then rethrow.
|
// failed to connect. if not camping then rethrow.
|
||||||
if (!m_camp) {
|
if (!m_camp) {
|
||||||
|
|
|
@ -99,7 +99,7 @@ CXWindowsUtil::getWindowProperty(Display* display, Window window,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result == Success) {
|
if (result == Success) {
|
||||||
LOG((CLOG_DEBUG1 "read property %d on window 0x%08x: bytes=%d", property, window, (data == NULL) ? 0 : data->size()));
|
LOG((CLOG_DEBUG2 "read property %d on window 0x%08x: bytes=%d", property, window, (data == NULL) ? 0 : data->size()));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue