Module: check_mk
Branch: master
Commit: 9928aafa3846e173e08bac2b91e7c4461e31d4d5
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9928aafa3846e1…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon Jun 16 13:28:42 2014 +0200
FIX logwatch: fixed incorrect display of warning messages
---
.werks/938 | 9 +++++++++
ChangeLog | 1 +
web/htdocs/logwatch.py | 2 +-
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.werks/938 b/.werks/938
new file mode 100644
index 0000000..26fa36c
--- /dev/null
+++ b/.werks/938
@@ -0,0 +1,9 @@
+Title: logwatch: fixed incorrect display of warning messages
+Level: 2
+Component: multisite
+Class: fix
+State: unknown
+Version: 1.2.5i4
+Date: 1402918094
+
+
diff --git a/ChangeLog b/ChangeLog
index d916cb1..45beef1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -18,6 +18,7 @@
* 0934 FIX: Logwatch messages with class unknown ( 'u' ) now displayed as
WARN...
* 0166 FIX: mobile gui: Fixed colors of command list...
* 0820 FIX: Fixed wrong NagVis links in "custom links" snapin
+ * 0938 FIX: logwatch: fixed incorrect display of warning messages
WATO:
* 0987 New button for updating DNS cache...
diff --git a/web/htdocs/logwatch.py b/web/htdocs/logwatch.py
index 7bc20fe..6968f39 100644
--- a/web/htdocs/logwatch.py
+++ b/web/htdocs/logwatch.py
@@ -360,7 +360,7 @@ def parse_file(host, file, hidecontext = False):
line_level = 1
line_class = 'WARN'
- if line[0] == 'u':
+ elif line[0] == 'u':
line_level = 1
line_class = 'WARN'