[
https://issues.jboss.org/browse/WFCORE-1273?page=com.atlassian.jira.plugi...
]
ehsavoie Hugonnet commented on WFCORE-1273:
-------------------------------------------
To reproduce the issue:
{code:java}
/subsystem=logging/custom-formatter=XMLFormatter:add(class=java.util.logging.XMLFormatter,
module=org.jboss.logmanager)
/subsystem=logging/custom-formatter=XMLFormatter:write-attribute(name=class,
value=org.jboss.logmanager.formatters.PatternFormatter)
/subsystem=logging/custom-formatter=XMLFormatter:write-attribute(name=properties,
value={"pattern" => "%s%E%n"})
{code}
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.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)