Increase retention period for CommModule logfiles to at least 2.5 years

in accordance with Security Manual 4.2.1 (at least 24/at most 36 months).
This commit is contained in:
Wytze van der Raay 2009-05-24 18:08:23 +00:00
parent e10f0cc910
commit 1b5940cca8

View file

@ -46,8 +46,8 @@ then
done
fi
# delete old logfiles which have not been modified in at least one year
FILES=`find oldlogs/logfile20*.txt.bz2 -mtime +365 -print`
# delete old logfiles which have not been modified in at least 2.5+ years
FILES=`find oldlogs/logfile20*.txt.bz2 -mtime +913 -print`
if [ -n "${FILES}" ]
then
for F in ${FILES}