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

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

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.1.0
    • 1.0.11
    • logback-access
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: