/glpi-logrotate

# · #! · 10 lines · 10 code · 0 blank · 0 comment · 0 complexity · 3cbd8eca55fefd7308e59db495497cd0 MD5 · raw file

  1. # Rotate GLPI logs daily, only if not empty
  2. # Save 14 days old logs under compressed mode
  3. /var/log/glpi/*.log {
  4. daily
  5. rotate 14
  6. compress
  7. notifempty
  8. missingok
  9. create 644 apache apache
  10. }