Skip to content

Commit 16d7b4d

Browse files
quentinmitroot
authored andcommitted
Fix Logwatch parsing of kernel logs
1 parent b7db527 commit 16d7b4d

File tree

1 file changed

+44
-0
lines changed
  • server/fedora/config/etc/logwatch/conf/services

1 file changed

+44
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
###########################################################################
2+
# $Id: kernel.conf 149 2013-06-18 22:18:12Z mtremaine $
3+
###########################################################################
4+
5+
# You can put comments anywhere you want to. They are effective for the
6+
# rest of the line.
7+
8+
# this is in the format of <name> = <value>. Whitespace at the beginning
9+
# and end of the lines is removed. Whitespace before and after the = sign
10+
# is removed. Everything is case *insensitive*.
11+
12+
# Yes = True = On = 1
13+
# No = False = Off = 0
14+
15+
Title = "Kernel"
16+
17+
# Which logfile group...
18+
LogFile = messages
19+
20+
# Only give lines pertaining to the kernel service...
21+
*OnlyService = (kernel|SUNW,[-\w]+?)
22+
*RemoveHeaders
23+
24+
# Remove kernel timestamp
25+
*RemoveHeaders = "^(: )?\[ *\d+\.\d+\]:? "
26+
27+
# Ignore segfaults and general protection faults in the listed programs
28+
# The value is a regular expression that the executable name is matched
29+
# against. Separate multiple executables with |
30+
# $ignore_faults = npviewer.bin
31+
32+
# Ignore Error: state manager encountered RPCSEC_GSS session expired against NFSv4 server
33+
# messages which often occur when kerberos tickets expire
34+
# $ignore_rpcsec_expired = Yes
35+
36+
########################################################
37+
# This was written and is maintained by:
38+
# Kirk Bauer <kirk@kaybee.org>
39+
#
40+
# Please send all comments, suggestions, bug reports,
41+
# etc, to kirk@kaybee.org.
42+
########################################################
43+
44+
# vi: shiftwidth=3 tabstop=3 et

0 commit comments

Comments
 (0)