[jboss-jira] [JBoss JIRA] (LOGMGR-94) PostConfigurationMethods are not invoked after all configuration changes

James Perkins (JIRA) issues at jboss.org
Thu Feb 20 20:59:47 EST 2014


    [ https://issues.jboss.org/browse/LOGMGR-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12946654#comment-12946654 ] 

James Perkins commented on LOGMGR-94:
-------------------------------------

Originally a WildFly issue with a {{custom-handler}} and using log4j appenders, this issue is actually a logmanager issue. The methods that should be invoked post configuration only seem to be invoked the first time the method is added to the configuration. Subsequent changes don't invoke the methods as they should.
                
> PostConfigurationMethods are not invoked after all configuration changes
> ------------------------------------------------------------------------
>
>                 Key: LOGMGR-94
>                 URL: https://issues.jboss.org/browse/LOGMGR-94
>             Project: JBoss Log Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: James Perkins
>            Assignee: James Perkins
>
> Currently the {{OptionHandler.activateOptions}} is only invoked during construction of a log4j appender. This invocation should happen if any property is updated or added. The invocation of this method should also only happen once. Multiple invocation could result in errors or leave the appender in an invalid state.

--
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


More information about the jboss-jira mailing list