size of file /var/spool/plymouth/boot.log keeps growing
Hi All,
I have Rsyslog 8.7 installed on the Redhat linux (Linux version 3.8.13-55.1.5.el6uek.x86_64 (mockbuild@ca-build44.us.oracle.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3)). So I don't need messages logged somewhere else. I happened to notice the size of 2 files /var/log/boot.log and /var/spool/plymouth/boot.log kept growing. They are eating up my HDD space. I disabled file /var/log/boot.log in /etc/rsyslog.conf. Where can I do the same thing for file /var/spool/plymouth/boot.log? Regards, Robert |
Why not just delete the file ' /var/spool/plymouth/boot.log' periodically (Cron).
|
Quote:
Quote:
|
You can manage logs with logrotate (a background sub-system) which starts a new log periodically and compresses the old one.
For example:- Code:
ls -lh /var/log |
All times are GMT -5. The time now is 07:41 PM. |