[Commits] (bcm) tweak the log4j settings so that tomcat writes a notice to cosmo.log when it

commits at osafoundation.org commits at osafoundation.org
Thu Mar 31 16:26:44 PST 2005


Commit by: bcm
Modified files:
server/etc/log4j.xml 1.1 1.2
server/etc/server.xml 1.13 1.14

Log message:
tweak the log4j settings so that tomcat writes a notice to cosmo.log when it
is ready for service. remove the Logger from the tomcat config so we don't
have to see silly servlet log messages from spring.


ViewCVS links:
http://cvs.osafoundation.org/index.cgi/server/etc/log4j.xml.diff?r1=text&tr1=1.1&r2=text&tr2=1.2
http://cvs.osafoundation.org/index.cgi/server/etc/server.xml.diff?r1=text&tr1=1.13&r2=text&tr2=1.14

Index: server/etc/server.xml
diff -u server/etc/server.xml:1.13 server/etc/server.xml:1.14
--- server/etc/server.xml:1.13	Mon Mar 28 10:47:01 2005
+++ server/etc/server.xml	Thu Mar 31 16:26:43 2005
@@ -62,7 +62,6 @@
                scheme="https" clientAuth="want"
                keystorePass="chandler"/>
     <Engine name="Catalina" defaultHost="localhost">
-      <Logger className="org.apache.catalina.logger.FileLogger" />
       <Realm className="org.apache.catalina.realm.DataSourceRealm"
              dataSourceName="ChandlerUserDB"
              roleNameCol="rolename"

Index: server/etc/log4j.xml
diff -u server/etc/log4j.xml:1.1 server/etc/log4j.xml:1.2
--- server/etc/log4j.xml:1.1	Thu Mar 31 14:50:55 2005
+++ server/etc/log4j.xml	Thu Mar 31 16:26:43 2005
@@ -17,10 +17,18 @@
     <level value="WARN"/>
   </logger>
 
+  <logger name="net.sf.ehcache.CacheManager">
+    <level value="ERROR"/>
+  </logger>
+
   <logger name="org.apache">
     <level value="WARN"/>
   </logger>
 
+  <logger name="org.apache.catalina.startup.Catalina">
+    <level value="INFO"/>
+  </logger>
+
   <logger name="org.springframework">
     <level value="WARN"/>
   </logger>



More information about the Commits mailing list