LoggerAppenderRollingFile doesn't have param named datePattern. I couldn't
find it in the source source anywhere. Archived rolled-over files are named
like this: file.log.1, file.log.2, if they are compressed, then
file.log.1.gz, file.log.2.gz. That's it I guess.


On Tue, Oct 8, 2013 at 7:36 AM, Sireesh Naidu Beemineni <
[email protected]> wrote:

> Hi,
>
>      Please help me to resolve the issue.
>
> Thanks & Regards,
> Sireesh.
>
>
> On Mon, Oct 7, 2013 at 4:34 PM, Sireesh Naidu Beemineni <
> [email protected]> wrote:
>
>> 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.
>>
>
>


-- 

Vladimír Gorej | CodeScale s.r.o.
email: [email protected]
tel: +420 777 861 279, +421 948 023 011
web: http://www.codescale.net

Reply via email to