[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: log4j and logrotate



On Mon Feb 15 11:35, Thomas Koch wrote:
> what's preferred?
> 
> - use log4j's internal logrotate mechanism
> - use debian's logrotate
> 
> And if debian's is prefered, how to do it properly, so that log4j won't 
> complain or continue writing in a just rotated logfile?

If it's easy to do (not significant upstream patching etc) then I'd favour the
system logrotate. Normally this works by HUPing the program to reopen it's log
files, but I don't know now log4j does this.

Matt

-- 
Matthew Johnson

Attachment: signature.asc
Description: Digital signature


Reply to: