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

Add contextName injector for Tomcat

    XMLWordPrintable

Details

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • logback-classic
    • 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

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

            Dates

              Created:
              Updated: