[jboss-jira] [JBoss JIRA] (AS7-4528) Logging subsystem should invoke Handler.close() on shutdown/removal.
James Perkins (JIRA)
jira-events at lists.jboss.org
Tue Apr 17 14:47:18 EDT 2012
[ https://issues.jboss.org/browse/AS7-4528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12685055#comment-12685055 ]
James Perkins commented on AS7-4528:
------------------------------------
With some help from DML it's determined that it would be better to flush rather than close. Probably use a service listener to invoke the flush on write handlers. When a handler of any kind is removed, {{close()}} is already invoked.
> Logging subsystem should invoke Handler.close() on shutdown/removal.
> --------------------------------------------------------------------
>
> Key: AS7-4528
> URL: https://issues.jboss.org/browse/AS7-4528
> Project: Application Server 7
> Issue Type: Bug
> Components: Logging
> Reporter: James Perkins
> Assignee: James Perkins
> Fix For: 7.2.0.Alpha1
>
>
> Currently the subsystem removal just uses the ReloadRequiredRemoveStepHandler.INSTANCE. A custom OSH should be used to invoke the close method on handlers when the subsystem is removed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list