Project

General

Profile

Actions

Enhancement #515

open

Orfeo: increase log retention

Added by Pierre-Louis Bonicoli about 7 years ago. Updated about 4 years ago.

Status:
In Progress
Priority:
Normal
Category:
System :: Base
Start date:
2017-03-02
Due date:
% Done:

90%

Estimated time:
Patch Available:
Confirmed:
Yes
Branch:
Entity:
DuckCorp
Security:
Help Needed:

Description

Filesystem               Size  Used Avail Use% Mounted on
/dev/sdb7                2.7G  2.2G  588M  79% /var/log
The current log retention delays are:
  • 7 days
    • /var/log/syslog 223 Mo
  • 14 days
    • /var/log/apache2 11 Mo
  • 4 weeks
    • /var/log/mail.* 1.5 Go
    • /var/log/auth.log* 58 Mo
    • /var/log/user.log* 248 Ko
    • /var/log/daemon.log* 23 Mo
    • /var/log/fail2ban 5 Mo
  • 7 months
    • /var/log/vmail_clamdscan.log* 28 Ko
  • 1 year
    • /var/log/roundcube/ 1.6 Mo
  • Not using logrotate:
    • /var/log/named 204Mo
Propositions:
  • either rotate /var/log/mail.log everyday or compress /var/log/mail.log.1 (it would use ~120 Mo instead of 800 Mo)
  • /var/log/apache2: increase log retention to 2 months
  • compress /var/log/syslog.log.1
Actions

Also available in: Atom PDF