[jboss-jira] [JBoss JIRA] (WFCORE-157) Write expressions to logging.properties configuration file
James Perkins (JIRA)
issues at jboss.org
Thu Mar 9 13:02:02 EST 2017
[ https://issues.jboss.org/browse/WFCORE-157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13375574#comment-13375574 ]
James Perkins commented on WFCORE-157:
--------------------------------------
I wouldn't think any. The current default in the {{logging.properties}} is:
{code}
${jboss.server.log.dir}/server.log
{code}
Once the logging subsystem is added the {{logging.properties}} gets rewritten with the fully-qualified path. So it should work the same for IDE's unless they do some kind of tweaking to the {{logging.properties}}.
The idea will be to write the values like:
{code}
handler.FILE.fileName=${jboss.server.log.dir:/home/jperkins/servers/wildfly-10.1.0.Final/standalone/log}/server.log
{code}
The default value will be the last good/known value. But if the property is defined it will use the property value.
> Write expressions to logging.properties configuration file
> ----------------------------------------------------------
>
> Key: WFCORE-157
> URL: https://issues.jboss.org/browse/WFCORE-157
> Project: WildFly Core
> Issue Type: Enhancement
> Components: Logging
> Reporter: James Perkins
> Assignee: James Perkins
> Priority: Optional
>
> Allow properties that use expressions to write the expression out to the logging.properties configuration file. This allows properties passed in at runtime to affect the initial logging configuration.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list