[jboss-jira] [JBoss JIRA] (WFLY-3931) Custom formatter property changes not written to, but overriden by logging.properties
Anderson Parra de Paula (JIRA)
issues at jboss.org
Fri Nov 21 09:48:39 EST 2014
[ https://issues.jboss.org/browse/WFLY-3931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021955#comment-13021955 ]
Anderson Parra de Paula commented on WFLY-3931:
-----------------------------------------------
Hello Vsevolod Golovanov.
Please, could you attach your standalone.xml for that I will simulate this problem.
Thank you!
> Custom formatter property changes not written to, but overriden by logging.properties
> -------------------------------------------------------------------------------------
>
> Key: WFLY-3931
> URL: https://issues.jboss.org/browse/WFLY-3931
> Project: WildFly
> Issue Type: Bug
> Components: Logging
> Affects Versions: 8.1.0.Final
> Environment: Wildfly 8.1.0.Final
> Reporter: Vsevolod Golovanov
> Assignee: James Perkins
>
> When you first add custom formatter with properties to standalone.xml, on server start property values get correctly resolved and written to logging.properties.
> If you change property values in standalone.xml of an existing custom formatter, that was flushed to logging.properties before, then on the next server start new values don't get written to logging.properties and formatter instance gets the old values from logging.properties.
> For properties with static values that are defined in standalone.xml there is a workaround: change the custom formatter name each time you change a property value.
> But with more dynamic properties, e.g. that rely on system properties, it's not so simple...
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the jboss-jira
mailing list