User Tools

Site Tools


informatique:linux:logrotate

This is an old revision of the document!


Logrotate

https://les-enovateurs.com/logrotate-ajout-test-configuration-rotation-logs/

https://doc.ubuntu-fr.org/logrotate

https://linux.die.net/man/8/logrotate

Exemple de fichier minimaliste :

/var/log/application/ansible/log//ansible-audited.log {
  weekly
  rotate 10
  size=200M
  compress
  missingok
}
informatique/linux/logrotate.1603200989.txt.gz · Last modified: 2020/10/20 15:36 by didzkovitchz