geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r438716 - in /geronimo/genesis/trunk/config/logging-config/src/main/resources: log4j.properties org/ org/apache/ org/apache/geronimo/ org/apache/geronimo/test-log4j.properties
Date Thu, 31 Aug 2006 00:02:18 GMT
Author: jdillon
Date: Wed Aug 30 17:02:17 2006
New Revision: 438716

URL: http://svn.apache.org/viewvc?rev=438716&view=rev
Log:
Use org/apache/geronimo/test-log4j.properties for test logging configuration, tests should
configure something like:
    <argLine>-Dlog4j.configuration=org/apache/geronimo/test-log4j.properties</argLine>
    

Added:
    geronimo/genesis/trunk/config/logging-config/src/main/resources/org/
    geronimo/genesis/trunk/config/logging-config/src/main/resources/org/apache/
    geronimo/genesis/trunk/config/logging-config/src/main/resources/org/apache/geronimo/
    geronimo/genesis/trunk/config/logging-config/src/main/resources/org/apache/geronimo/test-log4j.properties
      - copied, changed from r438225, geronimo/genesis/trunk/config/logging-config/src/main/resources/log4j.properties
Removed:
    geronimo/genesis/trunk/config/logging-config/src/main/resources/log4j.properties

Copied: geronimo/genesis/trunk/config/logging-config/src/main/resources/org/apache/geronimo/test-log4j.properties
(from r438225, geronimo/genesis/trunk/config/logging-config/src/main/resources/log4j.properties)
URL: http://svn.apache.org/viewvc/geronimo/genesis/trunk/config/logging-config/src/main/resources/org/apache/geronimo/test-log4j.properties?p2=geronimo/genesis/trunk/config/logging-config/src/main/resources/org/apache/geronimo/test-log4j.properties&p1=geronimo/genesis/trunk/config/logging-config/src/main/resources/log4j.properties&r1=438225&r2=438716&rev=438716&view=diff
==============================================================================
--- geronimo/genesis/trunk/config/logging-config/src/main/resources/log4j.properties (original)
+++ geronimo/genesis/trunk/config/logging-config/src/main/resources/org/apache/geronimo/test-log4j.properties
Wed Aug 30 17:02:17 2006
@@ -21,18 +21,30 @@
 ## $Rev$ $Date$
 ##
 
-log4j.rootCategory=DEBUG, FILE, CONSOLE
+log4j.debug=true
+
+log4j.rootLogger=DEBUG, CONSOLE, FILE
 
 log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
 log4j.appender.CONSOLE.Target=System.out
-log4j.appender.CONSOLE.Threshold=WARN
+log4j.appender.CONSOLE.Threshold=ERROR
 log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
 log4j.appender.CONSOLE.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c{1}] %m%n
 
 log4j.appender.FILE=org.apache.log4j.FileAppender
 log4j.appender.FILE.File=${basedir}/target/test.log
-log4j.appender.FILE.Append=false
 log4j.appender.FILE.Threshold=DEBUG
+log4j.appender.FILE.Append=true
 log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
 log4j.appender.FILE.layout.ConversionPattern=%d{ABSOLUTE} %-5p (%t) [%c] %m%n
+
+#
+# Example: enable trace logging from CONSOLE appender
+#
+#log4j.appender.CONSOLE.Threshold=TRACE#org.apache.geronimo.system.logging.log4j.XLevel
+
+#
+# Example: enable trace messages from foo.bar category
+#
+#log4j.logger.foo.bar=TRACE#org.apache.geronimo.system.logging.log4j.XLevel
 



Mime
View raw message