[logback-dev] [JIRA] Created: (LBCLASSIC-329) Add contextName injector for Tomcat

Michael Osipov (JIRA) noreply-jira at qos.ch
Mon May 7 10:17:27 CEST 2012


Add contextName injector for Tomcat
-----------------------------------

                 Key: LBCLASSIC-329
                 URL: http://jira.qos.ch/browse/LBCLASSIC-329
             Project: logback-classic
          Issue Type: New Feature
          Components: Other
            Reporter: Michael Osipov
            Assignee: Logback dev list
         Attachments: LogbackContextNameListener.java

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

These are my dependencies:
{noformat}
<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>
{noformat}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list