Module: check_mk
Branch: master
Commit: 19239ca26d3f3ad0592580f9beb8e10c72683213
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=19239ca26d3f3a…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Jun 12 10:30:52 2014 +0200
Livestatus: remove debug logging
---
livestatus/src/LogCache.cc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/livestatus/src/LogCache.cc b/livestatus/src/LogCache.cc
index 0d23a8d..9c080f9 100644
--- a/livestatus/src/LogCache.cc
+++ b/livestatus/src/LogCache.cc
@@ -62,6 +62,10 @@ int num_cached_log_messages = 0;
// Debugging logging is hard if debug messages are logged themselves...
void debug(const char *loginfo, ...)
{
+ // Disable debugging, if not working in code. This can result in
+ // a symlink attack otherwise...
+ return;
+
if (g_debug_level >= 3)
return;