← Back to team overview

kernel-packages team mailing list archive

[Bug 1503164] Re: The size of the log files in /var/log gets out of hand

 

We can specify on what time interval logs need to be generated this will
reduce disk overhead and also becomes very helpful for log auditing

These are the lines which needed to be pasted at rsyslog

/var/log/syslog
 {
         rotate 1
         maxsize 10M
         hourly
         missingok
         notifempty
         reload rsyslog >/dev/null 2>&1 || true
         endscript
 }


And same must be carried out for rest logs

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1503164

Title:
  The size of the log files in /var/log gets out of hand

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Thankfully it's a rare problem, but anyway: some errors create huge
  log files, causing rapid loss of disk space.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1503164/+subscriptions


References