Re: [us...@httpd] montly log rotation

2009-02-25 Thread fredk2
Hi, I am not sure at what version it started (1.2.18?) but you can use the pipe | rotatelog (http://httpd.apache.org/docs/2.2/programs/rotatelogs.html) eg. daily rotation: JkLogFile "|/usr/apache2/bin/rotatelogs -l /usr/myweb/logs/mod_jk_%Y%m%d.log 86400" which does not involve any SIG... howe

Re: [us...@httpd] montly log rotation

2009-02-25 Thread Bill Davidson
André Warnier wrote: Under Linux, there is also a utility called "logrotate" (a separate program which will run from time to time under cron, and rotate a choice of logfiles, dictated by its configuration files). We use it on all our Apache2 sites, works very nicely. I've been looking into th

Re: [us...@httpd] montly log rotation

2008-11-21 Thread Ebbe Hjorth
> Tom Evans wrote: >> On Fri, 2008-11-21 at 13:30 +0100, Ebbe Hjorth wrote: >>> Hi, >>> >>> I run apache 2.2 on a FreeBSD v7.0 machine, with a lot of virtual >>> hosts, >>> with each their own access and error log. >>> >>> I have been looking at rotatelogs so i dont have to restart/reload >>> apach

Re: [us...@httpd] montly log rotation

2008-11-21 Thread Ebbe Hjorth
> On Fri, 2008-11-21 at 13:30 +0100, Ebbe Hjorth wrote: >> Hi, >> >> I run apache 2.2 on a FreeBSD v7.0 machine, with a lot of virtual hosts, >> with each their own access and error log. >> >> I have been looking at rotatelogs so i dont have to restart/reload >> apache, >> but the rotatelogs only

Re: [us...@httpd] montly log rotation

2008-11-21 Thread André Warnier
Tom Evans wrote: On Fri, 2008-11-21 at 13:30 +0100, Ebbe Hjorth wrote: Hi, I run apache 2.2 on a FreeBSD v7.0 machine, with a lot of virtual hosts, with each their own access and error log. I have been looking at rotatelogs so i dont have to restart/reload apache, but the rotatelogs only rotat

Re: [us...@httpd] montly log rotation

2008-11-21 Thread Tom Evans
On Fri, 2008-11-21 at 13:30 +0100, Ebbe Hjorth wrote: > Hi, > > I run apache 2.2 on a FreeBSD v7.0 machine, with a lot of virtual hosts, > with each their own access and error log. > > I have been looking at rotatelogs so i dont have to restart/reload apache, > but the rotatelogs only rotate logs

[us...@httpd] montly log rotation

2008-11-21 Thread Ebbe Hjorth
Hi, I run apache 2.2 on a FreeBSD v7.0 machine, with a lot of virtual hosts, with each their own access and error log. I have been looking at rotatelogs so i dont have to restart/reload apache, but the rotatelogs only rotate logs on a time interval, or logs size count. I would like to rotate all