Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-301

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

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 1.1.6
    • 0.9.28
    • None
    • None

    Description

      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.

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

      filename = tomcatHomeProperty + File.separatorChar + DEFAULT_CONFIG_FILE;

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            keithwoodlock Keith Woodlock
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: