Re: [CentOS] logrotate script not working

2015-01-11 Thread SilverTip257
On Wed, Jan 7, 2015 at 9:54 PM, Tim Dunphy wrote: > 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

Re: [CentOS] logrotate script not working

2015-01-08 Thread Tim Dunphy
> > That's because the MySQL daemon has his hands on the log's file descriptor > and still write the log while it has been moved by logrotate. > You will have to add a command to the logrotate definition which causes > the MySQL daemon to write into a new log file (mysqladmin flush-logs). > https:/

Re: [CentOS] logrotate script not working

2015-01-07 Thread Alexander Dalloz
Am 08.01.2015 um 03:54 schrieb Tim Dunphy: 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 06

Re: [CentOS] logrotate script not working

2015-01-07 Thread Christopher Jacoby
ast rotation time. When maxsize is used, > both the size and timestamp of a log file are considered. > > > -Original Message- > From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On > Behalf Of Tim Dunphy > Sent: Thursday, January 08, 2015 3:55 AM > T

Re: [CentOS] logrotate script not working

2015-01-07 Thread Mateusz Guz
entos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Tim Dunphy Sent: Thursday, January 08, 2015 3:55 AM To: CentOS mailing list Subject: [CentOS] logrotate script not working Hey guys, Got a quick question and I hope this is an easy one! In my /etc/logrotate.conf file I have the

[CentOS] logrotate script not working

2015-01-07 Thread Tim Dunphy
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 woul