LogbackValve uses catalina.home property to find configuration file but it 
should support tomcats advanced configuration by using catalina.base
-----------------------------------------------------------------------------------------------------------------------------------------------

                 Key: LBACCESS-24
                 URL: http://jira.qos.ch/browse/LBACCESS-24
             Project: logback-access
          Issue Type: Bug
    Affects Versions: 0.9.28
            Reporter: Keith Woodlock
            Assignee: Logback dev list


In LogbackValve, the following code assumes catalina.home/conf to be the only 
location where a conf directory can exist. In advanced configuration of tomcat, 
there can be serveral instances of tomcat each with their own conf directory 
with catalina.base pointing to instance home.


{panel}
      String tomcatHomeProperty = OptionHelper
          .getSystemProperty("catalina.home");

      filename = tomcatHomeProperty + File.separatorChar + DEFAULT_CONFIG_FILE;
{panel}

-- 
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

        
_______________________________________________
logback-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-dev

Reply via email to