From: Mike S. <m...@pe...> - 2005-07-07 17:00:29
|
On Wed, 6 Jul 2005, Damien Guerin wrote: > I have the following problem : In a Perl application I would like a > log file rotation each day. To do that, I am using Log4Perl with > Dispatch FileRotate module but only rotation by size is possible. > Indeed day rotation doesn't work. > > My Log4perl configuration file : > > log4perl.appender.MSG=3DLog::Dis=C2=ADpatch::FileRotate > log4perl.appender.MSG.filename=C2=AD=3D/log/msg.log > log4perl.appender.MSG.mode=3Dapp=C2=ADend > log4perl.appender.MSG.max=3D10 > log4perl.appender.MSG.DatePatt=C2=ADern=3Dyyyy-MM-dd > log4perl.appender.MSG.layout=3DP=C2=ADatternLayout > log4perl.appender.MSG.TZ=3DGMT > log4perl.appender.MSG.layout.C=C2=ADonversionPattern=3D%d %m%n > > A rotation each minutes doesn't work too. I don't kown why? > Please, can you help me? Something's broken with Log::Dispatch::FileRotate and minutely rotation, I've filed a bug: http://rt.cpan.org/NoAuth/Bug.html?id=3D13559 -- Mike Mike Schilli m...@pe... |