Repository: marmotta
Updated Branches:
  refs/heads/develop a24171103 -> 2fd86e1f9


set root logging level to INFO


Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/2fd86e1f
Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/2fd86e1f
Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/2fd86e1f

Branch: refs/heads/develop
Commit: 2fd86e1f933462c96c3c95f4c8c1eb579ae0292d
Parents: a241711
Author: Sebastian Schaffert <[email protected]>
Authored: Tue Oct 7 14:54:18 2014 +0200
Committer: Sebastian Schaffert <[email protected]>
Committed: Tue Oct 7 14:54:18 2014 +0200

----------------------------------------------------------------------
 .../platform/core/services/logging/LoggingServiceImpl.java         | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/marmotta/blob/2fd86e1f/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/logging/LoggingServiceImpl.java
----------------------------------------------------------------------
diff --git 
a/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/logging/LoggingServiceImpl.java
 
b/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/logging/LoggingServiceImpl.java
index 3bd7ecc..ee65173 100644
--- 
a/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/logging/LoggingServiceImpl.java
+++ 
b/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/logging/LoggingServiceImpl.java
@@ -17,6 +17,7 @@
  */
 package org.apache.marmotta.platform.core.services.logging;
 
+import ch.qos.logback.classic.Level;
 import ch.qos.logback.classic.LoggerContext;
 import ch.qos.logback.classic.encoder.PatternLayoutEncoder;
 import ch.qos.logback.classic.filter.ThresholdFilter;
@@ -181,6 +182,7 @@ public class LoggingServiceImpl implements LoggingService {
 
         // configure defaults for root logger
         ch.qos.logback.classic.Logger rootLogger = 
loggerContext.getLogger(ch.qos.logback.classic.Logger.ROOT_LOGGER_NAME);
+        rootLogger.setLevel(Level.INFO);
         rootLogger.detachAndStopAllAppenders();
         
rootLogger.addAppender(appenders.get(getOutputConfiguration("console")));
         rootLogger.addAppender(appenders.get(getOutputConfiguration("main")));

Reply via email to