Module: check_mk
Branch: master
Commit: bde146209259f584404e54e5240af2b9e0b7a674
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=bde146209259f5…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Oct 1 14:45:45 2013 +0200
FIX: avoid duplicate output of log message in log tables
---
ChangeLog | 1 +
web/plugins/views/painters.py | 5 ++++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 72e4315..e50833d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,6 +11,7 @@
Multisite:
* FIX: add missing service icons to view "All Services with this descr..."
* FIX: ldap attribute plugins: fixed crash when parameters are None
+ * FIX: avoid duplicate output of log message in log tables
1.2.3i2:
Core:
diff --git a/web/plugins/views/painters.py b/web/plugins/views/painters.py
index d459b13..142532d 100644
--- a/web/plugins/views/painters.py
+++ b/web/plugins/views/painters.py
@@ -1626,7 +1626,10 @@ def paint_log_plugin_output(row):
else:
return "", _("The %s started flapping") % what
- return "", (lst + " - " + log_type)
+ elif lst:
+ return "", (lst + " - " + log_type)
+ else:
+ return "", ""
multisite_painters["log_plugin_output"] = {