logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28647] - Add "Flush on Level" capability to FileAppender
Date Thu, 06 May 2004 06:16:17 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28647>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28647

Add "Flush on Level" capability to FileAppender





------- Additional Comments From sdorrat@jbwere.com.au  2004-05-06 06:16 -------
This is why I use the LevelFlushed approach (i.e Flush on level equal to or 
higher than x).  If the error is trapped prior to shutdown, then the log will 
be flushed when an ERROR event is logged.  If the error is not trapped, then 
some low level messages will not be flushed.  But with the existing approach, 
you wouldnt have low level logging enabled anyway (due to performance hit), so 
no difference.  Thats the rationale behind this.  It enables you to leave a 
lower level on permanently than you otherwise would.  So you get the advantage 
of seeing the low level info in all cases bar catastrophic failure.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message