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 23021] - Queue reading thread in AsyncAppender blocks if a called appender throws a RuntimeException
Date Tue, 20 Jan 2004 22:17:29 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23021>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23021

Queue reading thread in AsyncAppender blocks if a called appender throws a RuntimeException





------- Additional Comments From j.c.yip@computer.org  2004-01-20 22:17 -------
>From what I can tell, this should occur at
AppenderAttachableImpl.appendLoopOnAppenders.  Surround appender.doAppend(event)
with a try catch Runtime, log, and continue.  This will prevent a single faulty
appender from preventing logging to other appenders and killing the parent loop.

---------------------------------------------------------------------
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