Hi,
Can any one please help me to use datePattern
in LoggerAppenderRollingFile (*PHP*). Please find my sample code below.
Sample code:-
* <appender name="info" class="LoggerAppenderRollingFile">*
* <param name="datePattern" value="D-H" />*
* <param name="maxBackupIndex" value="24" />*
* <param name="file" value="C:/temp/debug.%s.log" />*
* <layout class="LoggerLayoutPattern">*
* <param name="ConversionPattern" value="%d{Y-M-d H:i:s,u O} [%p]
{%c:%L:%F} - %m%n" />*
* </layout>*
* </appender>*
Thanks & Regards,
Sireesh.