Sample logwatch config files for backup log processing
This commit is contained in:
parent
ab9689d77f
commit
d0a8df5b70
13
etc/logwatch/conf/logfiles/backup.conf
Normal file
13
etc/logwatch/conf/logfiles/backup.conf
Normal file
@ -0,0 +1,13 @@
|
||||
# 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
|
||||
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
|
9
etc/logwatch/conf/services/backup.conf
Normal file
9
etc/logwatch/conf/services/backup.conf
Normal file
@ -0,0 +1,9 @@
|
||||
# Name of the logfile group without any extension
|
||||
LogFile = backup
|
||||
|
||||
# Heading displayed on Logwatch's report for this service
|
||||
Title = "System and NextCloud Backup"
|
||||
|
||||
# Override the detail level for this service
|
||||
# Remember the levels are: 0, 1-4, 5, 6+
|
||||
# Detail = 0
|
Loading…
Reference in New Issue
Block a user