mirrorlist logs: only keep logs of the last 7 days
The log files of the mirrorlist servers are currently kept for 14 days. The logs are used to create the statistics at: https://admin.fedoraproject.org/mirrormanager/statistics The statistics scripts only need the current and the previous day to work correctly. This reduces the log file retention from 14 to 7 days. Kind of resolves: https://github.com/fedora-infra/mirrormanager2/issues/164
This commit is contained in:
parent
0b5fd7f282
commit
b1140d955d
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@
|
|||
# Cleanup old mirrorlist logfile
|
||||
- name: mirrorlist clean cron
|
||||
cron: name="clean-mirrorlist" minute="13" hour="13" user="mirrormanager"
|
||||
job="/usr/sbin/tmpwatch --mtime 14d /var/log/mirrormanager"
|
||||
job="/usr/sbin/tmpwatch --mtime 7d /var/log/mirrormanager"
|
||||
cron_file=clean-mirrorlist
|
||||
tags:
|
||||
- mirrorlist2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue