Hello Viktor,

how does it compare to this appender?
http://logging.apache.org/log4php/docs/appenders/daily-file.html
Is it an extension?

Thanks for your work!
Cheers

On Fri, Jan 13, 2012 at 2:06 PM, Viktor Radnai <[email protected]> wrote:
> Hi all,
>
> This is my first post to this list. I have created a
> LoggerAppenderDailyRollingFile appender for a project that I'm working
> on. This is needed there because I have a long-lived PHP process that
> would otherwise not rotate the logfile. It is also possible to rotate
> log files once every hour or even minute if needed, by setting the
> 'rotate' property appropriately. This is illustrated in the
> configuration example below:
>
> log4php.appender.logfile = LoggerAppenderDailyRollingFile
> log4php.appender.logfile.layout = LoggerLayoutTTCC
> log4php.appender.logfile.rotate = i
> log4php.appender.logfile.datePattern = Ymd-Hi
>
> The attached patch file is against 2.2.0/src/main/php. Would you
> consider this appender useful for the general public and include in
> the project?
>
> Cheers,
> Vik



-- 
http://www.grobmeier.de
https://www.timeandbill.de

Reply via email to