[ http://issues.apache.org/jira/browse/LOG4NET-16?page=comments#action_59911 ] Nicko Cadell commented on LOG4NET-16: -------------------------------------
I would prefer to see this implemented by using a generic AsynchronousAppender that would be used to aggregate other appenders and deliver events to them asynchronously. This AsynchronousAppender would be generic and could be used in conjunction with any appender. > Asynchronous email-sending with SMTPAppender > -------------------------------------------- > > Key: LOG4NET-16 > URL: http://issues.apache.org/jira/browse/LOG4NET-16 > Project: Log4net > Type: Improvement > Components: Appenders > Environment: From sourceforge - 689368 > Reporter: Nicko Cadell > > I would like to suggest that > the SMTPAppender have a, perhaps optional, > asynchronous methodology for sending email, so > there would not be a pause in the application's main > logical thread of execution when the digest of logging > messages is ready to be sent. > Perhaps a property could denote whether another thread > sent the email asynchronously or not. > Perhaps using the asynchronous approach could be > configurable via the configuration file. > I think the wait that occurs when the send operation is in > the main thread is not desireable and can be quite > considerable. If sending on another thread where > supported, I believe it should be the default behaviour. > regards, > carl -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira
