logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bruce...@sbox.tugraz.at
Subject help: RollingFileAppender (xml configuration?)
Date Wed, 01 Feb 2006 15:33:43 GMT
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