New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WFLY-2995] When properties change on log4j appenders activate should be invoked #5943
Conversation
…thod should be invoked on the Log4jAppenderHandler.
Build 2742 is now running using a merge of 402166e |
Build 2742 outcome was FAILURE using a merge of 402166e Build problems:Failed tests detected
Failed tests
|
retest this please |
Build 2743 is now running using a merge of 402166e |
Build 2743 outcome was SUCCESS using a merge of 402166e |
[WFLY-2995] When properties change on log4j appenders activate should be invoked
The
activate()
method on theLog4jAppenderHandler
was only getting invoked when a handler was added. This creates a problem when the user changes a property, such as a file, the property value is changed, but the appender might not set the output stream. Since the properties are set on aPojoConfiguration
and theactivate
method is on theHandlerConfiguration
the method was never invoked on property changes. This simply adds a dummy property to be changed on the handler which will invoke the activation method.Also a simple change to set the name on the appender.