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

LogbackValve should use ${catalina.base} instead of ${catalina.home}

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0.11
    • Fix Version/s: 1.1.0
    • Component/s: logback-access
    • Labels:
      None

      Description

      The documentation states that LogbackValve will try to find a configuration file named logback-access.xml in the directory where tomcat servet.xml is located and that this directory is $TOMCAT_HOME/conf/.

      This is not correct because if you run multiple instances of tomcat (by splitting tomcat in BASE and HOME directories), the server.xml could be located in $TOMCAT_BASE/conf/ which defaults to $TOMCAT_HOME/conf/ if you do not use such settings.

      Therefore, LogbackValve should try to find logback-access.xml in $TOMCAT_BASE/conf/ instead.

        Attachments

          Activity

            People

            • Assignee:
              logback-dev Logback dev list
              Reporter:
              xdury Xavier Dury
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: