JBAS-258 syslog file cleanup fix comments
authorBill Erickson <berickxx@gmail.com>
Mon, 22 Dec 2014 15:48:36 +0000 (10:48 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
KCLS/misc-scripts/manage-log-files.sh

index 420c308..4bb4b22 100755 (executable)
@@ -22,13 +22,13 @@ while getopts "d:c:h" opt; do
     esac
 done;
 
-# Delete all Evergreen log files that are older than one year,
-# except for the Apache access log and Evergreen activity log.
+# Delete all Evergreen log files that are older than DELETE_AGE
+# days, except for the Apache access log and Evergreen activity log.
 
 /usr/bin/find /var/log/evergreen -type f -ctime +$DELETE_AGE \
     -not -name "ap_access*" -not -name "activity*" -delete
 
-# Compress Evergreen log files older than 3 days
+# Compress Evergreen log files older than COMPRESS_AGE days
 
 /usr/bin/find /var/log/evergreen/ -type f -ctime +$COMPRESS_AGE \
     -not -name "*bz2" -exec /bin/bzip2 {} \;