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

LogbackValve misses setFilename(String)

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 0.9.10
    • None
    • None
    • None
    • Operating System: Linux
      Platform: PC

    • 71

    Description

      There's no way to specify a different filename for logback-access.xml in LogbackValve because its setter method is missing.
      The following snippet of server.xml should work:
      <Valve className="ch.qos.logback.access.tomcat.LogbackValve"
      filename="my_logback_access.xml"/>

      But the default logfile ${catalina.home}/conf/logback-access.xml is used instead.

      Its counterpart for Jetty, namely RequestLogImpl provides such a method - so please add it for Tomcat too.

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            ml001@armbruster-it.de Stefan Armbruster
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: