[jboss-jira] [JBoss JIRA] (WFCORE-1273) Can not add property after change of class in custom log formatter.
ehsavoie Hugonnet (JIRA)
issues at jboss.org
Fri Jan 8 11:56:00 EST 2016
[ https://issues.jboss.org/browse/WFCORE-1273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146552#comment-13146552 ]
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)
More information about the jboss-jira
mailing list