On Tue, 10 Mar 2009, DAY Roger wrote:

> Every time I run a script, I'd like my log-file to roll over. I invoke
> Log::Dispatch::FileRotate thusly
>...
>     DatePattern => 'HH-dd-yyyy',);

Hmm, this is neither a valid date pattern (yyyy-MM-dd-HH would be
correct),  according to the Log::Dispatch::FileRotate man page, nor does
it claim to roll it on every invocation.

You probably need something like a custom file appender for this.

-- Mike

Mike Schilli
m...@perlmeister.com

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
log4perl-devel mailing list
log4perl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/log4perl-devel

Reply via email to