logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steindl Christian" <c.stei...@pke.at>
Subject AW: help: RollingFileAppender (xml configuration?)
Date Tue, 07 Feb 2006 08:14:53 GMT
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
> 
> 
> 
> 
> 
> 
> 
> 

Mime
View raw message