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

Cannot specify config file relative to catalina home

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 0.9.26
    • None
    • None
    • all

    Description

      There is no way to refer to catalina home when specifying the filename of a logback valve.
      What I would like to do is something like:
      <Valve className="ch.qos.logback.access.tomcat.LogbackValve"
      filename="${catalina.home}/conf/logback-access-test.xml"
      />
      The only way for now is to specify an absolute path, which is not very convenient.
      The system properties in the filename should be expanded in LogbackValve.start().

      Attachments

        Activity

          People

            logback-dev Logback dev list
            eestieve Eric Estievenart
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: