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
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
> 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
> 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
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
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
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