Logwatch logfile-group and service definiton file

This commit is contained in:
Asif Bacchus
2018-10-22 00:43:14 -06:00
parent 8931206e1f
commit d7d43fdfe5
2 changed files with 23 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
# Location of your script's log file, -l parameter
LogFile = /path/to/your/backup.log
# Format of logrotate archives for your script. Example assumes compression and
# extension preservation (this is optional, you can omit if not using
# compression/archives or if Logwatch has ARCHIVES=NO set)
Archive = /path/to/your/logfile.ext.?.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 need to change this unless you have altered the 'stamp' variable in
# the script in which case you will want to update the regex in the custom pl
# script below
*sqFullStampAnywhere