From: Damien G. <dam...@at...> - 2005-07-06 14:40:12
|
Hi,=20 I have the following problem : In a Perl application I would like a log file rotation each day.=20 To do that, I am using Log4Perl with Dispatch FileRotate module but only ro= tation by size is possible. Indeed day rotation doesn't work. My Log4perl configuration file : log4perl.appender.MSG=3DLog::Dis=C2=ADpatch::FileRotate=20 log4perl.appender.MSG.filename=C2=AD=3D/log/msg.log=20 log4perl.appender.MSG.mode=3Dapp=C2=ADend=20 log4perl.appender.MSG.max=3D10=20 log4perl.appender.MSG.DatePatt=C2=ADern=3Dyyyy-MM-dd log4perl.appender.MSG.layout=3DP=C2=ADatternLayout=20 log4perl.appender.MSG.TZ=3DGMT=20 log4perl.appender.MSG.layout.C=C2=ADonversionPattern=3D%d %m%n=20 A rotation each minutes doesn't work too. I don't kown why? Please, can you help me? Regards, Damien. |