Skip to content

Commit 5007083

Browse files
committed
logwatch: loglevel extension related to 34fc798
1 parent ead3b2b commit 5007083

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

contrib/logwatch/radicale

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ sub ConvertLogin($) {
153153

154154
while (defined($ThisLine = <STDIN>)) {
155155
# count loglevel
156-
if ( $ThisLine =~ /\[(DEBUG|INFO|WARNING|ERROR|CRITICAL)\] /o ) {
156+
if ( $ThisLine =~ /\[(TRACE|DEBUG|INFO|NOTICE|WARNING|ERROR|CRITICAL|ALERT)\] /o ) {
157157
$Loglevel{$1}++
158158
}
159159

@@ -241,8 +241,8 @@ while (defined($ThisLine = <STDIN>)) {
241241
$OtherEvents{$info}++;
242242
};
243243
}
244-
elsif ( $ThisLine =~ /\[(DEBUG|INFO)\] /o ) {
245-
# skip if DEBUG+INFO
244+
elsif ( $ThisLine =~ /\[(TRACE|DEBUG|INFO)\] /o ) {
245+
# skip if TRACE+DEBUG+INFO
246246
}
247247
else {
248248
# Report any unmatched entries...

0 commit comments

Comments
 (0)