Hrotkó Gábor
commented on
LBCLASSIC-240
JNDIUtil.lookup always cast the JNDI lookup result to a String
java.util.Properties should also be supported. With this, one jndi property would be enough to configure logback, with variable substitution, like:
<insertFromJNDI env-entry-name="myRes" as="res" /> <!-- {dir=myDir} -->
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${res.dir}/myLog.log</file>
...
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your
JIRA administrators
.
For more information on JIRA, see:
http://www.atlassian.com/software/jira
<insertFromJNDI env-entry-name="myRes" as="res" /> <!-- {dir=myDir} -->
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${res.dir}/myLog.log</file>
...