Module: check_mk
Branch: master
Commit: 4be9b3857ec4fec364bc8e96e52600dd723b7187
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4be9b3857ec4fe…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Apr 30 15:24:14 2013 +0200
livestatus.log: another instance of utf8 encoding debug logging
---
livestatus/src/Query.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/livestatus/src/Query.cc b/livestatus/src/Query.cc
index bfd941c..0d111d4 100644
--- a/livestatus/src/Query.cc
+++ b/livestatus/src/Query.cc
@@ -1060,7 +1060,8 @@ void Query::outputString(const char *value)
}
}
else {
- logger(LG_INFO, "Ignoring invalid UTF-8 sequence in string
'%s'", value);
+ if (g_debug_level >= 2)
+ logger(LG_INFO, "Ignoring invalid UTF-8 sequence in string
'%s'", value);
}
}