[jboss-jira] [JBoss JIRA] (AS7-4538) Support expressions for "file relative-to" attribute.
David Lloyd (JIRA)
jira-events at lists.jboss.org
Tue Apr 17 13:42:17 EDT 2012
[ https://issues.jboss.org/browse/AS7-4538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Lloyd resolved AS7-4538.
------------------------------
Assignee: David Lloyd (was: James Perkins)
Resolution: Rejected
This is the wrong place to do this. What you should do is define a path called "my-logging" or whatever, and use an expression for its value. Then your logging file handler should be relative to that directory. This solves your problem with existing logic.
We cannot support expressions in the "relative-to" attribute because there is a degree of referential integrity in the management model that must be maintained.
> Support expressions for "file relative-to" attribute.
> -----------------------------------------------------
>
> Key: AS7-4538
> URL: https://issues.jboss.org/browse/AS7-4538
> Project: Application Server 7
> Issue Type: Feature Request
> Components: Logging
> Affects Versions: 7.1.1.Final
> Environment: Windows 7 64 bit
> Reporter: Joseph Fouts
> Assignee: David Lloyd
> Labels: jboss
> Fix For: No Release
>
>
> Support expressions for "file relative-to" attribute.
> Currently "file relative-to" does not support pointing to an environment variable.
> We have an environment variable setup to define the folder that all logging goes to.
> We would like to have JBoss logging use this environment variable rather than have
> to manually define the path again in the server config file.
--
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