Bug #5488
Updated by François ARMAND about 10 years ago
Hi,
# du -sh /var/rudder/cfengine-community/
606M /var/rudder/cfengine-community/
# du -sh /var/rudder/cfengine-community/cf3.myhost.runlog
532M /var/rudder/cfengine-community/cf3.myhost.runlog
I have the (secret) wish to be able to use my systems for useful things, and adding a cronjob to clean *.runlog every minute/hour/day/week is not one of them.
Any chance they could be purged or rotated or something?
Thanks.
FAR note: as a workaround, you can either:
- create a symlink to /dev/null
- or create a cronjob that remove the file periodically (for ex: 0 0,12 * * * root rm -f /var/rudder/cfengine-community/*.runlog* )