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

Add contextName injector for Tomcat

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: logback-classic
    • Labels:
      None

      Description

      Based on this StackOverflow thread, I am donating my code provides the context path as context name for LogBack.

      These are my dependencies:

      <dependencies>
      		<dependency>
      			<groupId>org.apache.tomcat</groupId>
      			<artifactId>catalina</artifactId>
      			<version>6.0.35</version>
      			<scope>provided</scope>
      		</dependency>
      		<dependency>
      			<groupId>javax.servlet</groupId>
      			<artifactId>servlet-api</artifactId>
      			<version>2.4</version>
      			<scope>provided</scope>
      		</dependency>
      		<dependency>
      			<groupId>commons-lang</groupId>
      			<artifactId>commons-lang</artifactId>
      			<version>2.6</version>
      		</dependency>
      	</dependencies>
      

        Attachments

          Activity

            People

            • Assignee:
              logback-dev Logback dev list
              Reporter:
              michael-o Michael Osipov
            • Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: