logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jing Zheng <jingzh...@inbox.com>
Subject RE: 0.9.8 RollingFileAppender?
Date Mon, 06 Nov 2006 01:30:52 GMT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD><META http-equiv=Content-Type content="text/html; charset=utf-8"><META
content="INBOX.COM" name=GENERATOR></HEAD>
<BODY>

<div>&nbsp;have you tried the patch in http://www.nabble.com/a-proposed-patch-for-DailyRollingFileAppender-by-Iwan-Tomlow-tf2514825.html?<br>that
might help.<br></div><br><br><blockquote style="border-left: 2px
solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;"><div
class="msgHeaders">-----Original Message-----<br><b>From:</b> bgore@cisco.com<br><b>Sent:</b>
Sun, 5 Nov 2006 16:05:30 -0800<br><b>To:</b> log4cxx-user@logging.apache.org<br><b>Subject:</b>
0.9.8 RollingFileAppender?<br><br></div><div class="oldBody"><div>
<div><font face="Arial" size="2"><span _class="962275623-05112006">I was
previous using 
the Log4cxx, v0.9.7, RollingFileAppender with the following configuration 
properties:</span></font></div>
<div><font face="Arial" size="2"><span _class="962275623-05112006"></span></font>&nbsp;</div>
<div><font face="Arial" size="2">#&nbsp;&nbsp; Rolling File 
Appender<br>log4j.appender.R=org.apache.log4j.RollingFileAppender<br>log4j.appender.R.File=Log4CXX.txt</font></div>
<div><font face="Arial" size="2">log4j.appender.R.MaxFileSize=3000KB<br>log4j.appender.R.Append=true<br>log4j.appender.R.MaxBackupIndex=7<br>log4j.appender.R.layout=org.apache.log4j.PatternLayout<br>log4j.appender.R.layout.ConversionPattern=%d

[%5t] %-5p %c{1} - %m<br></font></div>
<div><font><span _class="962275623-05112006"><font face="Arial" size="2">This

successfully rolled logging output between 8 files of 3MB each.&nbsp; But now 
that I've updated to LOGCXX-62, the rolling appender no longer works.&nbsp; 
Instead, I just get one base file created which grows increasingly 
large.</font></span></font></div>
<div><font><span _class="962275623-05112006"><font face="Arial" size="2"></font></span></font>&nbsp;</div>
<div><font><span _class="962275623-05112006"><font face="Arial" size="2">I
saw one post 
suggesting that rollingPolicy and triggeringPolicy properties were needed, but 
adding these also did not help.&nbsp; Any ideas what's 
needed?</font></span></font></div>
<div><font><span _class="962275623-05112006"><font face="Arial" size="2"></font></span></font>&nbsp;</div>
<div><font><span _class="962275623-05112006"></span>&nbsp;</font></div></div></div></blockquote>
</BODY>
</HTML>

Mime
View raw message