[CentOS] logrotate script not working
Tim Dunphy
bluethundr at gmail.comThu Jan 8 02:54:46 UTC 2015
- Previous message: [CentOS] Password Must Change using SSSD in Samba 4.1.10
- Next message: [CentOS] logrotate script not working
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hey guys,
Got a quick question and I hope this is an easy one!
In my /etc/logrotate.conf file I have the following entry:
# rotate all of the apache logs -- we'll rotate them here
/var/log/mysqld.log {
weekly
size 50M
create 0644 mysql mysql
rotate 1
}
And from that I would expect the log to rotate when it reaches 50M in size.
However I just caught that log weighing in at 356MB!! So how can I get
this log file to rotate when it hits 50MB?
Any ideas, advice and help at all would be appreciated.
Thanks
Tim
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
- Previous message: [CentOS] Password Must Change using SSSD in Samba 4.1.10
- Next message: [CentOS] logrotate script not working
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list