contrib/eddn-logs-archive: Make non-verbose

This script has been proven for months, quieten it for potentially no
crontab output unless there's a problem.
This commit is contained in:
Athanasius committed 2022-08-31 07:30:57 +00:00
1 parent efd9905c17
commit 53e099a9f4
1 file changed
+2 -2
+2 -2
View File
@@ -78,7 +78,7 @@ for service in gateway monitor relay ;
do
log "Service: ${service}"
log " Expiring old logs..."
find . -name "${service}.log.*.gz" -a -atime +${MAX_LOGFILE_AGE} -exec rm -fv {} \;
find . -name "${service}.log.*.gz" -a -atime +${MAX_LOGFILE_AGE} -exec rm -f {} \;
log " DONE"
log " Checking if current logfile needs archiving..."
@@ -106,7 +106,7 @@ do
fi
# Now compress the newly archived log
gzip -9v "${ARCHIVED_NAME}"
gzip -9 "${ARCHIVED_NAME}"
log " DONE"
else
log " No"