[jboss-jira] [JBoss JIRA] (AS7-5169) Adding System property in pattern-formatter in domain/standalone xmls of as7 does not print the value
rang s (JIRA)
jira-events at lists.jboss.org
Fri Jul 13 06:02:12 EDT 2012
rang s created AS7-5169:
---------------------------
Summary: Adding System property in pattern-formatter in domain/standalone xmls of as7 does not print the value
Key: AS7-5169
URL: https://issues.jboss.org/browse/AS7-5169
Project: Application Server 7
Issue Type: Bug
Components: Logging
Affects Versions: 7.1.2.Final (EAP)
Reporter: rang s
Assignee: James Perkins
Priority: Minor
Adding a system property in the pattern string of logging.properties ${<system property>} substitutes the value in log file. However the same in domain.xml/standalone.xml does not substitute the variable with the value.
(Addition notes: PropertyHelper.resolveValue() is used to get the value in normal case. However from AS7 this appears to get bypassed as in FormatterSpec.java : apply() calls the constructor of PatternFormatter directly which in turn resolves other variables and system property remains unresolved)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list