logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From François BARBE <fba...@yahoo.fr>
Subject Pb RollingFileAppender
Date Wed, 26 Jun 2002 07:34:49 GMT
Hi all,

I try to use a RollingFileAppender but it doesn't work....

I want to roll over 3 files and to have 1024KB for the max size.
Here the configuration I use:

<appender name="MediaFwk" class="org.apache.log4j.FileAppender">
  <param name="MaxFileSize" value="1024KB" />
  <param name="MaxBackupIndex" value="3" />

  <param name="File" value="tracesFwk.txt" />
  <layout class="amt.tech.fwk.journalsortie.FwkPatternLayout">
    <param name="ConversionPattern"

I've got my log, but there's always 1 file and its size can go over 1024KB...
What's wrong ?


Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>

View raw message