Created
September 2, 2016 14:19
-
-
Save carloscortegagna/e9baf77ab448d782209a3d31c65b0cde to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/local/bsmart/current/log/activations.log { | |
daily | |
missingok | |
rotate 7 | |
compress | |
delaycompress | |
notifempty | |
copytruncate | |
} | |
# "daily" fa rotate del log ogni giorno. si può scegliere anche "weekly" o "monthly" | |
# "rotate 7" mantiene 7 file di log, oltre a quello attuale. | |
# aumentare se si vuole più storico, i file oltre al settimo vengono cancellati | |
# eventualmente per fare rotate di tutti i log (è quindi sufficiente un solo file /etc/logrotate.d/bsmart) | |
/usr/local/bsmart/current/log/*.log { | |
.... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment