[ale] Cooperating with logrotate

JK jknapka at kneuro.net
Fri Nov 6 14:09:22 EST 2009


Scott McBrien wrote:
> Check out the logrotate for httpd in /etc/logrotate.d, it sounds like  
> what you need is a post rotate script like what apache uses.


Ah.  I think that works because when httpd receives a HUP its signal-
handler rewinds the logfile.  I can do that, though unfortunately
it will require a new release of my server code.  Oh well, them's
the breaks.

Thanks,

-- JK


> -Scott
> 
> On Nov 6, 2009, at 12:32 PM, JK <jknapka at kneuro.net> wrote:
> 
>> Hi folks,
>>
>> I have a very long-running server process that generates a lot of
>> log data over time. One instance is currently appending to a 9GB
>> logfile.  The server process opens the log file in "w" mode and
>> holds it open forever.

...



More information about the Ale mailing list