geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r564819 - in /geronimo/server/branches/2.0: assemblies/geronimo-boilerplate-minimal/src/main/resources/var/log/server-log4j.properties modules/geronimo-system/src/main/java/org/apache/geronimo/system/logging/log4j/Log4jService.java
Date Sat, 11 Aug 2007 02:30:00 GMT
Author: dwoods
Date: Fri Aug 10 19:29:59 2007
New Revision: 564819

URL: http://svn.apache.org/viewvc?view=rev&rev=564819
Log:
GERONIMO-3400 Log4JService Env and JVM info is no longer being logged.  Allow any log levels
through the file appender.

Modified:
    geronimo/server/branches/2.0/assemblies/geronimo-boilerplate-minimal/src/main/resources/var/log/server-log4j.properties
    geronimo/server/branches/2.0/modules/geronimo-system/src/main/java/org/apache/geronimo/system/logging/log4j/Log4jService.java

Modified: geronimo/server/branches/2.0/assemblies/geronimo-boilerplate-minimal/src/main/resources/var/log/server-log4j.properties
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.0/assemblies/geronimo-boilerplate-minimal/src/main/resources/var/log/server-log4j.properties?view=diff&rev=564819&r1=564818&r2=564819
==============================================================================
--- geronimo/server/branches/2.0/assemblies/geronimo-boilerplate-minimal/src/main/resources/var/log/server-log4j.properties
(original)
+++ geronimo/server/branches/2.0/assemblies/geronimo-boilerplate-minimal/src/main/resources/var/log/server-log4j.properties
Fri Aug 10 19:29:59 2007
@@ -17,7 +17,7 @@
 ## $Rev$ $Date$
 ##
 
-log4j.rootLogger=INFO, CONSOLE, FILE
+log4j.rootLogger=WARN, CONSOLE, FILE
 
 log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
 log4j.appender.CONSOLE.Threshold=${org.apache.geronimo.log.ConsoleLogLevel}
@@ -26,7 +26,7 @@
 log4j.appender.CONSOLE.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c{1}] %m%n
 
 log4j.appender.FILE=org.apache.log4j.RollingFileAppender
-log4j.appender.FILE.Threshold=INFO
+log4j.appender.FILE.Threshold=TRACE
 log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
 log4j.appender.FILE.layout.ConversionPattern=%d{ABSOLUTE} %-5p [%c{1}] %m%n
 
@@ -50,8 +50,10 @@
 #
 #log4j.logger.foo.bar=TRACE#org.apache.geronimo.system.logging.log4j.XLevel
 
-#### This will help find connection leak problems ####
+# Geronimo
+#This will help find connection leak problems
 #log4j.logger.org.apache.geronimo.connector.outbound=TRACE#org.apache.geronimo.system.logging.log4j.XLevel
+log4j.logger.org.apache.geronimo.system.logging.log4j.Log4jService=INFO
 
 #### Eliminate any INFO level output during normal operation -- except the really relevant
stuff ####
 #    We can change the Geronimo code to avoid this, but we have to just adjust the log levels
for
@@ -134,7 +136,9 @@
 #log4j.logger.httpclient.wire.header=DEBUG
 #log4j.logger.org.apache.commons.httpclient=DEBUG
 
+# Example: enable OpenJPA debug log output
 #log4j.logger.openjpa.Runtime=TRACE
 #log4j.logger.openjpa.Enhance=TRACE
 #log4j.logger.openjpa.SQL=TRACE
-#log4j.logger.openjpa=TRACE
\ No newline at end of file
+#log4j.logger.openjpa=TRACE
+

Modified: geronimo/server/branches/2.0/modules/geronimo-system/src/main/java/org/apache/geronimo/system/logging/log4j/Log4jService.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.0/modules/geronimo-system/src/main/java/org/apache/geronimo/system/logging/log4j/Log4jService.java?view=diff&rev=564819&r1=564818&r2=564819
==============================================================================
--- geronimo/server/branches/2.0/modules/geronimo-system/src/main/java/org/apache/geronimo/system/logging/log4j/Log4jService.java
(original)
+++ geronimo/server/branches/2.0/modules/geronimo-system/src/main/java/org/apache/geronimo/system/logging/log4j/Log4jService.java
Fri Aug 10 19:29:59 2007
@@ -131,6 +131,7 @@
         this.refreshPeriod = refreshPeriod;
         this.configurationFile = configurationFile;
         this.serverInfo = serverInfo;
+        Logger.getLogger(this.getClass().getName()).setLevel(Level.INFO);
     }
 
     /**



Mime
View raw message