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:
crs 2003-01-08 21:36:13 +00:00
parent f8240d97be
commit 0347bb1667
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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 {