[logback-dev] [JIRA] Created: (LBACCESS-24) LogbackValve uses catalina.home property to find configuration file but it should support tomcats advanced configuration by using catalina.base

Keith Woodlock (JIRA) noreply-jira at qos.ch
Mon May 30 20:49:51 CEST 2011


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

        


More information about the logback-dev mailing list