]
ehsavoie Hugonnet commented on WFCORE-1273:
-------------------------------------------
This happens because we are in reload-required mode and the formatter class has not been
updated in the FormatterConfiguration.
Can not add property after change of class in custom log formatter.
-------------------------------------------------------------------
Key: WFCORE-1273
URL:
https://issues.jboss.org/browse/WFCORE-1273
Project: WildFly Core
Issue Type: Bug
Components: Logging
Environment: Running unsecured EAP 7.0. DR9 version in standalone mode with
standalone-full-ha profile
Reporter: James Perkins
Assignee: James Perkins
When you create custom formater - XMLFormatter
{{/subsystem=logging/custom-formatter=XMLFormatter:add(class=java.util.logging.XMLFormatter,
module=org.jboss.logmanager)}} and then in web console edit class of formatter to
*org.jboss.logmanager.formatters.PatternFormatter* then save and try to add properties -
*pattern=%s%E%n*. Property is not saved.
When you create new formatter with *org.jboss.logmanager.formatters.PatternFormatter*
class and then try to add same property, saving is successful.