[logback-dev] [JIRA] Updated: (LBCORE-159) AppenderBase and UnsynchronizedAppenderBsae do not allow exceptions to percolate to the application
Ralph Goers (JIRA)
noreply-jira at qos.ch
Fri Jul 23 19:52:16 CEST 2010
[ http://jira.qos.ch/browse/LBCORE-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ralph Goers updated LBCORE-159:
-------------------------------
Attachment: exceptionPatch.txt
The attached patch allows an Appender to be configured to percolate exceptions to the application.
> AppenderBase and UnsynchronizedAppenderBsae do not allow exceptions to percolate to the application
> ---------------------------------------------------------------------------------------------------
>
> Key: LBCORE-159
> URL: http://jira.qos.ch/browse/LBCORE-159
> Project: logback-core
> Issue Type: Improvement
> Components: Appender
> Affects Versions: 0.9.24
> Environment: All
> Reporter: Ralph Goers
> Assignee: Logback dev list
> Attachments: exceptionPatch.txt
>
>
> When logging some events the application needs to be informed that the publishing of the event failed. Currently, AppenderBase and UnsynchronizedAppenderBase catch and handle all exceptions making it impossible to use any of the out-of-the box Logback appenders in these situations. This is particularly important when performing auditing and sending the events to a database, JMS queue, socket, etc. as the application would want to fail the current operation if it cannot be audited.
--
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