jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1529177 - /jackrabbit/oak/trunk/oak-run/src/main/resources/logback.xml
Date Fri, 04 Oct 2013 15:13:12 GMT
Author: jukka
Date: Fri Oct  4 15:13:12 2013
New Revision: 1529177

URL: http://svn.apache.org/r1529177
Log:
OAK-641: Improved benchmark tooling

Direct logs to stderr instead of stdout to simplify scripting.
Disable the annoying warnigns from JCR-3671.

Modified:
    jackrabbit/oak/trunk/oak-run/src/main/resources/logback.xml

Modified: jackrabbit/oak/trunk/oak-run/src/main/resources/logback.xml
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-run/src/main/resources/logback.xml?rev=1529177&r1=1529176&r2=1529177&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-run/src/main/resources/logback.xml (original)
+++ jackrabbit/oak/trunk/oak-run/src/main/resources/logback.xml Fri Oct  4 15:13:12 2013
@@ -17,14 +17,21 @@
   -->
 <configuration>
 
-  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+  <appender name="STDERR" class="ch.qos.logback.core.ConsoleAppender">
+    <target>System.err</target>
     <encoder>
       <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
     </encoder>
   </appender>
 
+  <!-- Disable warnings caused by JCR-3671 -->
+  <logger name="org.apache.jackrabbit.core.config.ConfigurationErrorHandler" level="ERROR"/>
+
+  <!-- Display info messages from the benchmark suite -->
+  <logger name="org.apache.jackrabbit.oak.benchmark" level="INFO"/>
+
   <root level="warn">
-    <appender-ref ref="STDOUT" />
+    <appender-ref ref="STDERR" />
   </root>
 
 </configuration>



Mime
View raw message