feature(LOGWATCH): Update logwatch scripts
- add trailing newlines - update search phrases to match logfile output
This commit is contained in:
parent
61e505952d
commit
7e739d96a1
@ -3,8 +3,8 @@
|
|||||||
#############################################################################
|
#############################################################################
|
||||||
# $Id$
|
# $Id$
|
||||||
#############################################################################
|
#############################################################################
|
||||||
# Log: Backup script (backup)
|
# Log: mailcow backup
|
||||||
# Revision 1.0 2018/10/16
|
# Revision 1.1 2019/07/20
|
||||||
# Written by Asif Bacchus
|
# Written by Asif Bacchus
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ if ($detailLevel == 0) {
|
|||||||
elsif ($ThisLine =~ /\-- \[WARNING\] /) {
|
elsif ($ThisLine =~ /\-- \[WARNING\] /) {
|
||||||
$summaryWarn++;
|
$summaryWarn++;
|
||||||
}
|
}
|
||||||
elsif ($ThisLine =~ /All processes completed successfully/) {
|
elsif ($ThisLine =~ /All processes completed/) {
|
||||||
$summarySuccess++;
|
$summarySuccess++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user