diff --git a/etc/logwatch/conf/logfiles/pilerbackup.conf b/etc/logwatch/conf/logfiles/pilerbackup.conf index ed36c40..445d0e1 100644 --- a/etc/logwatch/conf/logfiles/pilerbackup.conf +++ b/etc/logwatch/conf/logfiles/pilerbackup.conf @@ -1,9 +1,9 @@ # Location of your script's log file, -l parameter -LogFile = /path/to/your/backup.log +LogFile = /path/to/your/pilerbackup.log # Format of logrotate archives for your script. Example assumes compression and # extension preservation -Archive = /path/to/your/logfile.ext.?.gz +Archive = /path/to/your/pilerbackup.log.?.gz # Apply the correct date/time filtering to match the format of the script's log # We are using a custom pl script in /etc/logwatch/scripts/shared/ You don't diff --git a/etc/logwatch/scripts/services/pilerbackup b/etc/logwatch/scripts/services/pilerbackup index a929c72..fae7082 100644 --- a/etc/logwatch/scripts/services/pilerbackup +++ b/etc/logwatch/scripts/services/pilerbackup @@ -34,7 +34,7 @@ if ($detailLevel == 0) { elsif ($ThisLine =~ /\-- \[WARNING\] /) { $summaryWarn++; } - elsif ($ThisLine =~ /All processes completed successfully/) { + elsif ($ThisLine =~ /All processes completed/) { $summarySuccess++; } }