[jboss-jira] [JBoss JIRA] (WFCORE-1273) Can not add property after change of class in custom log formatter.

James Perkins (JIRA) issues at jboss.org
Fri Jan 8 11:34:00 EST 2016


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

James Perkins commented on WFCORE-1273:
---------------------------------------

There's something more to it than that. I get the same issue if I reload or restart the server. I haven't debugged to see what's going on, but something is wrong. More than likely with the logmanager configuration API.

> 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