Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-11-2015, 02:48 PM   #1
LQ Newbie
Registered: Nov 2004
Posts: 5

Rep: Reputation: 0
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 ( (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?


Old 03-13-2015, 12:48 AM   #2
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Why not just delete the file ' /var/spool/plymouth/boot.log' periodically (Cron).
Old 03-13-2015, 02:55 AM   #3
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548Reputation: 3548
Originally Posted by veerain View Post
Why not just delete the file ' /var/spool/plymouth/boot.log' periodically (Cron).
"Just" deleting logs is bound to give you headaches, besides they invented 'logrotate' for that kind of thing.

Originally Posted by tigerhuang View Post
Where can I do the same thing for file /var/spool/plymouth/boot.log?
No idea, all I can see is that Plymouth ('rpm -qi plymouth') does this on its own.
Old 03-13-2015, 04:53 PM   #4
Senior Member
Registered: Nov 2011
Distribution: Debian
Posts: 1,204

Rep: Reputation: 243Reputation: 243Reputation: 243
You can manage logs with logrotate (a background sub-system) which starts a new log periodically and compresses the old one.
For example:-
ls -lh /var/log
-rw-r----- 1 root      adm        895K Mar 13 19:06 kern.log
-rw-r----- 1 root      adm        2.3M Mar  9 04:57 kern.log.1
-rw-r----- 1 root      adm        172K Mar  1 06:36 kern.log.2.gz
-rw-r----- 1 root      adm        393K Feb 23 02:15 kern.log.3.gz
-rw-r----- 1 root      adm        326K Feb 15 05:50 kern.log.4.gz


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No /var/log/messages , syslog , kern.log -but cat /var/spool/octopussy/octo_fifo masuch Linux - Newbie 4 06-13-2012 09:05 PM
[SOLVED] Won't boot: /etc/rc.d/init.d/rc: line 193: /var/log/boot.log: Read-only file system liquidkaleidoscopes Linux From Scratch 6 11-11-2011 09:53 PM
/var/log/boot.log has size 0 ?? jhwilliams Fedora 3 06-16-2007 09:55 AM
/var/log/maillog file size vaughn Linux - Software 6 12-15-2003 06:12 PM
How to control log file size in /var/log? yan Linux - General 2 10-13-2003 06:00 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration