Hi,

 

In response to
https://issues.apache.org/jira/browse/LOG4NET-344?focusedCommentId=13291557
<https://issues.apache.org/jira/browse/LOG4NET-344?focusedCommentId=13291557
&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comme
nt-13291557>
&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comme
nt-13291557 I would like to start a discussion how log4net should support
asynchronous logging. Tom Tang implemented a general async forwarding
appender that glues together other appenders and thus adds general async
processing of log events. He implemented a good idea that misses only a few
small things to be an awesome improvement.

 

My objections are:

 

*         the queue size should be configurable

*         the ThreadPool should be used in favour over a designated worker
Thread

*         if the queue is full, it should fallback to synchronous logging,
shouldn't it?

*         queued log events should be processed when the appender gets
disposed

 

Cheers,

Dominik

Reply via email to