logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r1484965 - /logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumePersistentManager.java
Date Tue, 21 May 2013 21:20:55 GMT
Author: rgoers
Date: Tue May 21 21:20:55 2013
New Revision: 1484965

URL: http://svn.apache.org/r1484965
Log:
Set console log level to avoid bug in JBoss

Modified:
    logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumePersistentManager.java

Modified: logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumePersistentManager.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumePersistentManager.java?rev=1484965&r1=1484964&r2=1484965&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumePersistentManager.java
(original)
+++ logging/log4j/log4j2/trunk/flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumePersistentManager.java
Tue May 21 21:20:55 2013
@@ -51,6 +51,7 @@ import java.util.concurrent.LinkedBlocki
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.locks.ReadWriteLock;
 import java.util.concurrent.locks.ReentrantReadWriteLock;
+import java.util.logging.Level;
 
 /**
  *
@@ -271,6 +272,7 @@ public class FlumePersistentManager exte
                 File dir = new File(data.dataDir);
                 FileUtils.mkdir(dir, true);
                 final EnvironmentConfig dbEnvConfig = new EnvironmentConfig();
+                dbEnvConfig.setConfigParam(EnvironmentConfig.CONSOLE_LOGGING_LEVEL, Level.SEVERE.toString());
                 dbEnvConfig.setTransactional(true);
                 dbEnvConfig.setAllowCreate(true);
                 dbEnvConfig.setLockTimeout(5, TimeUnit.SECONDS);



Mime
View raw message