[logback-dev] [JIRA] Updated: (LBCLASSIC-177) Provide an appender similar to log4js AsyncAppender
Gordon Sims (JIRA)
noreply-jira at qos.ch
Wed Jan 19 21:13:51 CET 2011
[ http://jira.qos.ch/browse/LBCLASSIC-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gordon Sims updated LBCLASSIC-177:
----------------------------------
Attachment: 0001-Addition-of-AsyncAppender-class-and-tests.patch
Posting on behalf of colleague Derek Libby. This is what we use at ITA Software. Derek's comments:
The only real difference between the attached patch and the files
submitted original to LBCLASSIC-177 is the addition of the
blockWhenFull parameter which as its name implies instructs the appender
to either block when the BlockingQueue reaches the queueCapacity
paramter, or to simply drop messages on the floor.
I also modfied the AsyncAppenderInitializationTest.java file to more
closely match other initilization tests I found in the logback classic
project.
> Provide an appender similar to log4js AsyncAppender
> ---------------------------------------------------
>
> Key: LBCLASSIC-177
> URL: http://jira.qos.ch/browse/LBCLASSIC-177
> Project: logback-classic
> Issue Type: New Feature
> Components: appender
> Affects Versions: unspecified
> Reporter: Torsten Juergeleit
> Assignee: Logback dev list
> Attachments: 0001-Addition-of-AsyncAppender-class-and-tests.patch, AsyncAppender.java, AsyncAppender_logback-test.xml, AsyncAppenderInitializationTest.java, AsyncAppenderTest.java
>
>
> We're using log4j successfully in financial B2B / B2C web applications for years. Now we would like to adopt Logback but therefore we need support for an asynchronous appender decorator like log4js AsyncAppender.
> Attached you can find my take on this kind of appender cobbled together from ideas and code from various places:
> * http://logging.apache.org/log4j/1.2/xref/org/apache/log4j/AsyncAppender.html
> * http://jira.qos.ch/browse/LBCLASSIC-20
> * http://jira.qos.ch/browse/LBCLASSIC-176
> * http://www.simonsite.org.uk/
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the logback-dev
mailing list