Sanghamitra,

I could not find any text from you :-( Could you please send it again?
Thanks!

Or does anyone else have any ideas? Thanks in advance!


On 21.04.2005 22:07:12 Sanghamitra Chowdhury wrote:
>--- Kai <[EMAIL PROTECTED]> wrote:
>> Hi all,
>>
>> I just want to keep the logs from the last 10 days.
>> Is it possible to
>> configure this? Currently all logs are kept and none
>> are removed. But I want
>> to keep them named by the day, e.g. 'log
>> 20050421.log'. Any ideas? Thanks!
>>
>> <appender name="RollingFile"
>> type="log4net.Appender.RollingFileAppender">
>> <file value="Log " />
>> <datepattern value="yyyyMMdd&quot;.log&quot;" />
>> <appendToFile value="true" />
>> <maxSizeRollBackups value="10" />
>> <rollingStyle value="Date" />
>> <staticLogFileName value="false" />
>> <layout type="log4net.Layout.PatternLayout">
>>      <param name="Header" value="-[New Start]-\r\n" />
>>      <param name="Footer" value="-[End]-\r\n" />
>>      <param name="ConversionPattern" value="%d [%t] %-5p
>> %c
>> [%X{currentuser}.%X{instance}] - %m%n" />
>> </layout>
>> </appender>

-- 
+++ GMX - Die erste Adresse f�r Mail, Message, More +++

1 GB Mailbox bereits in GMX FreeMail http://www.gmx.net/de/go/mail

Reply via email to