httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: [users@httpd] Apache mod-jk log rotate issue
Date Tue, 14 Sep 2010 22:30:55 GMT
On 13.09.2010 15:27, Joost de Heer wrote:
> On Mon, September 13, 2010 14:28, Garg, Saman wrote:
>> Thanks Jeff for your reply.
>> Is apache expected to not create new mod-jk log right on restart?
>
> Apache no longer creates the logfile, that's now left to rotatelogs. And
> rotatelogs only creates the file when there's data.

... except that some releases ago the flag "-f" was added to rotatelogs:

http://httpd.apache.org/docs/current/programs/rotatelogs.html

This would create the file when rotatelogs is started, but still doesn't 
close it and create a new one when rotation time has come if there is no 
new log message then.

Regards,

Rainer

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message