From 9aafb7b023650222452e538a8a59b54fc66aac88 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Wed, 26 Sep 2018 02:04:00 -0600 Subject: [PATCH] Updated Logfile group configuration. Include archive and time-format. --- etc/logwatch/conf/logfiles/cfddns.conf | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/etc/logwatch/conf/logfiles/cfddns.conf b/etc/logwatch/conf/logfiles/cfddns.conf index 86ef6e5..920da0d 100644 --- a/etc/logwatch/conf/logfiles/cfddns.conf +++ b/etc/logwatch/conf/logfiles/cfddns.conf @@ -1 +1,9 @@ -LogFile = /path/to/your/cfddns.log \ No newline at end of file +# Location of your script's log file, -l parameter +LogFile = /path/to/your/cfddns.log +# Format of logrotate archives for your script. Example assumes compression and +# extension preservation +Archive = logfile.ext.?.gz +# Apply the correct date/time filtering to match the format of the script's log +# You don't need to change this unless you have altered the 'stamp' variable in +# the script +*applystddate = "%Y-%m-%d %H:%M:%S" \ No newline at end of file