Hi
Every time I run a script, I'd like my log-file to roll over. I invoke
Log::Dispatch::FileRotate thusly
my $file_appender =
Log::Log4perl::Appender>new("Log::Dispatch::FileRotate",
name => "Logfile",
mode => "append",
filename => $logfile,
TZ=> 'GMT
On Mon, 09 Mar 2009 12:09 -0700, "Mike Schilli"
wrote:
> A, gotcha, I forgot that you have a long-running process and want to
> switch log files for every request. To do that, you can write your own
> appender (it's very easy, check
> http://search.cpan.org/dist/Log-Log4perl/lib/Log/Log4perl/FAQ.p