Issue Type: Improvement Improvement
Affects Versions: 1.1.2
Assignee: Logback dev list
Attachments: ContextDetachingSCL.java
Components: logback-classic
Created: 06/Oct/14 10:57 PM
Description:

Currently, the ContextDetachingSCL only supports detaching a ContextJNDISelector.

If some other ContextSelector implementation is used, it would be nice if the ContextDetachingSCL gracefully stopped logback as described in chapter 3 of the logback manual.

As a side effect, I think this type of implementation would provide the added benefit of gracefully stopping AsyncAppender instances instantiated as part of a web application context.

Attached is an updated ContextDetachingSCL implementation that detaches the default context if no context is found via a JNDI lookup.

Thoughts?

Project: logback
Labels: jndi
Priority: Major Major
Reporter: Owen Farrell
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
logback-dev mailing list
logback-dev@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-dev

Reply via email to