Re: [us...@httpd] A question about log rotation (/etc/logrotation.d and /etc/logrotation.d/httpd)

2010-12-29 Thread Thomas Chang
You are right. :-) --- Joost de Heer jo...@sanguis.xs4all.nl schrieb am Di, 28.12.2010: Von: Joost de Heer jo...@sanguis.xs4all.nl Betreff: Re: [us...@httpd] A question about log rotation (/etc/logrotation.d and /etc/logrotation.d/httpd) An: users@httpd.apache.org Datum: Dienstag, 28. Dezember

[us...@httpd] A question about log rotation (/etc/logrotation.d and /etc/logrotation.d/httpd)

2010-12-28 Thread Thomas Chang
Hello all, By default the log rotate every week and add the running number after the log file. Now I want to change this so that all the log files under /var/log/httpd rotate every day and end with date with format ddmm. I change the /etc/logrotate.d/gttpd as follow: /var/log/httpd/*log {

Re: [us...@httpd] A question about log rotation (/etc/logrotation.d and /etc/logrotation.d/httpd)

2010-12-28 Thread Joost de Heer
On Tue, December 28, 2010 13:55, Thomas Chang wrote: Hello all, By default the log rotate every week and add the running number after the log file. Now I want to change this so that all the log files under /var/log/httpd rotate every day and end with date with format ddmm. I change the