You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by ce...@apache.org on 2004/12/14 14:42:25 UTC
cvs commit: logging-log4j/examples/tiny-webapp/Tata/src/resources log4j.xml
ceki 2004/12/14 05:42:25
Modified: examples/tiny-webapp/Tata/src/WEB-INF web.xml
Removed: examples/tiny-webapp/Tata/src/resources log4j.xml
Log:
Web-app specific config files should be named differently than log4j.xml
Revision Changes Path
1.4 +8 -0 logging-log4j/examples/tiny-webapp/Tata/src/WEB-INF/web.xml
Index: web.xml
===================================================================
RCS file: /home/cvs/logging-log4j/examples/tiny-webapp/Tata/src/WEB-INF/web.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- web.xml 30 Mar 2004 10:45:21 -0000 1.3
+++ web.xml 14 Dec 2004 13:42:25 -0000 1.4
@@ -26,6 +26,14 @@
<env-entry-type>java.lang.String</env-entry-type>
</env-entry>
+ <env-entry>
+ <description>URL for configuring log4j context</description>
+ <env-entry-name>log4j/configuration-resource</env-entry-name>
+ <env-entry-value>tata-log4j.xml</env-entry-value>
+ <env-entry-type>java.lang.String</env-entry-type>
+ </env-entry>
+
+
<listener>
<listener-class>org.apache.log4j.selector.servlet.ContextDetachingSCL</listener-class>
</listener>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org