From 0347bb16675b2e0e793df90ffacfcf879d9c0624 Mon Sep 17 00:00:00 2001 From: crs Date: Wed, 8 Jan 2003 21:36:13 +0000 Subject: [PATCH] Changed log level of two messages. Now won't spew about reading window properties and will report connection failure at DEBUG instead of DEBUG1. --- lib/client/CClient.cpp | 2 +- lib/platform/CXWindowsUtil.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/client/CClient.cpp b/lib/client/CClient.cpp index 932072e8..6f690ab1 100644 --- a/lib/client/CClient.cpp +++ b/lib/client/CClient.cpp @@ -546,7 +546,7 @@ CClient::runServer() break; } 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. if (!m_camp) { diff --git a/lib/platform/CXWindowsUtil.cpp b/lib/platform/CXWindowsUtil.cpp index 63cd1ca7..90d0b0aa 100644 --- a/lib/platform/CXWindowsUtil.cpp +++ b/lib/platform/CXWindowsUtil.cpp @@ -99,7 +99,7 @@ CXWindowsUtil::getWindowProperty(Display* display, Window window, } 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; } else {