[JIRA] Created: (LBACCESS-19) Cannot specify config file relative to catalina home

Cannot specify config file relative to catalina home ---------------------------------------------------- Key: LBACCESS-19 URL: http://jira.qos.ch/browse/LBACCESS-19 Project: logback-access Issue Type: Bug Affects Versions: 0.9.26 Environment: all Reporter: Eric Estievenart Assignee: Logback dev list Priority: Trivial There is no way to refer to catalina home when specifying the filename of a logback valve. What I would like to do is something like: <Valve className="ch.qos.logback.access.tomcat.LogbackValve" filename="${catalina.home}/conf/logback-access-test.xml" /> The only way for now is to specify an absolute path, which is not very convenient. The system properties in the filename should be expanded in LogbackValve.start(). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

[ http://jira.qos.ch/browse/LBACCESS-19?page=com.atlassian.jira.plugin.system.... ] Eric Estievenart commented on LBACCESS-19: ------------------------------------------ In fact it seems to work if specifying a file relative to catalina home (at least in 0.9.26/linux/tomcat 6.0.29): filename="conf/logback-access-test.xml". Maybe a small line in the doc could say that ? Thx.
Cannot specify config file relative to catalina home ----------------------------------------------------
Key: LBACCESS-19 URL: http://jira.qos.ch/browse/LBACCESS-19 Project: logback-access Issue Type: Bug Affects Versions: 0.9.26 Environment: all Reporter: Eric Estievenart Assignee: Logback dev list Priority: Trivial
There is no way to refer to catalina home when specifying the filename of a logback valve. What I would like to do is something like: <Valve className="ch.qos.logback.access.tomcat.LogbackValve" filename="${catalina.home}/conf/logback-access-test.xml" /> The only way for now is to specify an absolute path, which is not very convenient. The system properties in the filename should be expanded in LogbackValve.start().
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
participants (1)
-
Eric Estievenart (JIRA)