[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4cxx-user
Subject:    AW: help: RollingFileAppender (xml configuration?)
From:       "Steindl Christian" <c.steindl () pke ! at>
Date:       2006-02-07 8:14:53
Message-ID: 0C9C604C8407544F9A16DA3BF30D8655D71C27 () 01-exch1 ! wan ! pke ! at
[Download RAW message or body]

The RollingFileAppender options has changed since 0.9.7. You have to configure policies too. check also http://issues.apache.org/jira/browse/LOGCXX-102 for similar configuration with properties file.

Greetz
Christian

> -----Ursprüngliche Nachricht-----
> Von: bruce_np@sbox.tugraz.at [mailto:bruce_np@sbox.tugraz.at] 
> Gesendet: Mittwoch, 01. Februar 2006 16:34
> An: Log4CXX User
> Betreff: help: RollingFileAppender (xml configuration?)
> 
> I have a short question:
> 
> is the RollingFileAppender still not working - or am I just 
> unable to configure it propperly?
> 
> I compiled the latest log4cxx from svn and used the following xml
> configuration:
> 
>    <appender name="RootFileApp" class="RollingFileAppender">
>       <param name="File" value="log_root.txt" />
>       <param name="append" value="false" />
>       <param name="MaxFileSize" value="10KB" />
>       <layout class="org.apache.log4j.PatternLayout">
>         <param name="ConversionPattern"  value="%d[%t] %-5p 
> %c %x - %m %n"/>
>      </layout>
>    </appender>
> 
> The file always got 90KB big.....
> 
> Any suggestions?
> 
> Best regards
> ML
> 
> 
> 
> 
> 
> 
> 
> 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic