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
_______________________________________________
logback-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-dev