log4perl.appender.Logfile.filename = sub { my $date = POSIX::strftime('%Y-%m-%d', localtime ); return "myapp-$date.log"; };
In reply to Re: Log::Log4perl and Log::Dispatch::FileRotate: Issues rotating log files based on date pattern (rotate log every day)
by Anonymous Monk
in thread [SOLVED] Log::Log4perl and Log::Dispatch::FileRotate: Issues rotating log files based on date pattern
by ateague
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |