roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r917210 - in /roller/trunk: weblogger-business/src/main/resources/org/apache/roller/weblogger/config/roller.properties weblogger-web/src/main/resources/log4j.properties weblogger-web/src/test/resources/roller-custom.properties
Date Sun, 28 Feb 2010 17:24:36 GMT
Author: snoopdave
Date: Sun Feb 28 17:24:36 2010
New Revision: 917210

URL: http://svn.apache.org/viewvc?rev=917210&view=rev
Log:
Tightening up logging: INFO for Roller and ERROR for everybody else

Modified:
    roller/trunk/weblogger-business/src/main/resources/org/apache/roller/weblogger/config/roller.properties
    roller/trunk/weblogger-web/src/main/resources/log4j.properties
    roller/trunk/weblogger-web/src/test/resources/roller-custom.properties

Modified: roller/trunk/weblogger-business/src/main/resources/org/apache/roller/weblogger/config/roller.properties
URL: http://svn.apache.org/viewvc/roller/trunk/weblogger-business/src/main/resources/org/apache/roller/weblogger/config/roller.properties?rev=917210&r1=917209&r2=917210&view=diff
==============================================================================
--- roller/trunk/weblogger-business/src/main/resources/org/apache/roller/weblogger/config/roller.properties
(original)
+++ roller/trunk/weblogger-business/src/main/resources/org/apache/roller/weblogger/config/roller.properties
Sun Feb 28 17:24:36 2010
@@ -616,7 +616,7 @@
 # Log4j logging settings
 #-----------------------------------------------------------------------------
 
-log4j.rootCategory=INFO, roller
+log4j.rootLogger=ERROR, roller
 
 log4j.appender.roller=org.apache.log4j.DailyRollingFileAppender
 log4j.appender.roller.File=${catalina.base}/logs/roller.log
@@ -624,40 +624,40 @@
 log4j.appender.roller.layout.ConversionPattern=%-5p %d{yyyy-MM-dd HH:mm:ss,SSS} %C{1}:%M
- %m%n
 
 # Roller code. Options are: DEBUG, INFO, WARN, ERROR, FATAL
-log4j.category.org.apache.roller=INFO
-log4j.category.net.java.roller=INFO
+log4j.logger.org.apache.roller=INFO
+log4j.logger.net.java.roller=ERROR
 
 # Roller dependent libraries
-log4j.category.org.apache.struts2=WARN
-log4j.category.org.apache.tiles=WARN
-log4j.category.com.opensymphony.xwork2=WARN
-log4j.category.org.springframework=WARN
-log4j.category.org.springframework.security=ERROR
-log4j.category.org.hibernate=WARN
+log4j.logger.org.apache.struts2=ERROR
+log4j.logger.org.apache.tiles=ERROR
+log4j.logger.com.opensymphony.xwork2=ERROR
+log4j.logger.org.springframework=ERROR
+log4j.logger.org.springframework.security=ERROR
+log4j.logger.org.hibernate=ERROR
 
 # the struts2 file upload stuff has some overly verbose messaging
-log4j.category.org.apache.struts2.interceptor.FileUploadInterceptor=ERROR
+log4j.logger.org.apache.struts2.interceptor.FileUploadInterceptor=ERROR
 
 # Velocity talks *way* too much, so set it to log only FATAL problems
-log4j.category.org.apache.velocity=FATAL
+log4j.logger.org.apache.velocity=FATAL
 
 # Roller extras
-log4j.category.com.ecyrd.jspwiki=ERROR
-log4j.category.com.opensymphony.oscache=ERROR
-log4j.category.com.danga.MemCached=WARN
+log4j.logger.com.ecyrd.jspwiki=ERROR
+log4j.logger.com.opensymphony.oscache=ERROR
+log4j.logger.com.danga.MemCached=ERROR
 
 # Ask OpenJPA to log to Log4J via Apache Commons Logging
 openjpa.Log=commons
-log4j.category.openjpa.Tool=WARN
-log4j.category.openjpa.Runtime=WARN
-log4j.category.openjpa.Remote=WARN
-log4j.category.openjpa.DataCache=WARN
-log4j.category.openjpa.MetaData=WARN
-log4j.category.openjpa.Enhance=WARN
-log4j.category.openjpa.Query=WARN
-log4j.category.openjpa.jdbc.SQL=WARN
-log4j.category.openjpa.jdbc.JDBC=WARN
-log4j.category.openjpa.jdbc.Schema=WARN
+log4j.logger.openjpa.Tool=ERROR
+log4j.logger.openjpa.Runtime=ERROR
+log4j.logger.openjpa.Remote=ERROR
+log4j.logger.openjpa.DataCache=ERROR
+log4j.logger.openjpa.MetaData=ERROR
+log4j.logger.openjpa.Enhance=ERROR
+log4j.logger.openjpa.Query=ERROR
+log4j.logger.openjpa.jdbc.SQL=ERROR
+log4j.logger.openjpa.jdbc.JDBC=ERROR
+log4j.logger.openjpa.jdbc.Schema=ERROR
 
 
 #-----------------------------------------------------------------------------

Modified: roller/trunk/weblogger-web/src/main/resources/log4j.properties
URL: http://svn.apache.org/viewvc/roller/trunk/weblogger-web/src/main/resources/log4j.properties?rev=917210&r1=917209&r2=917210&view=diff
==============================================================================
--- roller/trunk/weblogger-web/src/main/resources/log4j.properties (original)
+++ roller/trunk/weblogger-web/src/main/resources/log4j.properties Sun Feb 28 17:24:36 2010
@@ -24,7 +24,7 @@
 # customize it via your roller-custom.properties override file.
 #
 
-log4j.rootCategory=ERROR, roller-startup
+log4j.rootLogger=ERROR, roller-startup
 log4j.appender.roller-startup=org.apache.log4j.DailyRollingFileAppender
 log4j.appender.roller-startup.File=roller-startup.log
 log4j.appender.roller-startup.layout=org.apache.log4j.PatternLayout

Modified: roller/trunk/weblogger-web/src/test/resources/roller-custom.properties
URL: http://svn.apache.org/viewvc/roller/trunk/weblogger-web/src/test/resources/roller-custom.properties?rev=917210&r1=917209&r2=917210&view=diff
==============================================================================
--- roller/trunk/weblogger-web/src/test/resources/roller-custom.properties (original)
+++ roller/trunk/weblogger-web/src/test/resources/roller-custom.properties Sun Feb 28 17:24:36
2010
@@ -7,6 +7,11 @@
 database.jdbc.username=app
 database.jdbc.password=app
 
+#openjpa.IgnoreChanges=true
+#openjpa.FlushBeforeQueries=true
+openjpa.ConnectionRetainMode=transaction
+openjpa.Log=commons
+
 # use plain text passwords in testing
 passwds.encryption.enabled=false
 
@@ -31,20 +36,5 @@
 tasks.TestTask.interval=1800
 tasks.TestTask.leaseTime=300
 
-# logging
-log4j.rootCategory=ERROR, roller
-log4j.category.org.apache.roller=INFO
-#log4j.category.net.java.roller=ERROR
-
-log4j.category.org.apache.roller.planet.config.PlanetConfig=DEBUG
-log4j.category.org.apache.roller.weblogger.config.WebloggerConfig=DEBUG
-
-log4j.category.org.apache.roller.weblogger.planet.tasks=DEBUG
-log4j.category.org.apache.roller.weblogger.business.runnable=DEBUG
-
-#log4j.category.org.apache.roller.planet.business=DEBUG
-#log4j.category.org.apache.roller.weblogger.planet.business=DEBUG
-#log4j.category.org.apache.roller.planet.business.jpa.JPAPropertiesManagerImpl=DEBUG
-#log4j.category.org.apache.roller.weblogger.business.jpa.JPAPropertiesManagerImpl=DEBUG
-
-
+# logging - you can set Log4J properties here
+#log4j.logger.org.apache.roller.weblogger.business=DEBUG



Mime
View raw message