qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kw...@apache.org
Subject svn commit: r1715162 - /qpid/java/trunk/perftests/src/main/resources/logback.xml
Date Thu, 19 Nov 2015 11:50:06 GMT
Author: kwall
Date: Thu Nov 19 11:50:06 2015
New Revision: 1715162

URL: http://svn.apache.org/viewvc?rev=1715162&view=rev
Log:
NO-JIRA: Make perftests write a log file by default

Modified:
    qpid/java/trunk/perftests/src/main/resources/logback.xml

Modified: qpid/java/trunk/perftests/src/main/resources/logback.xml
URL: http://svn.apache.org/viewvc/qpid/java/trunk/perftests/src/main/resources/logback.xml?rev=1715162&r1=1715161&r2=1715162&view=diff
==============================================================================
--- qpid/java/trunk/perftests/src/main/resources/logback.xml (original)
+++ qpid/java/trunk/perftests/src/main/resources/logback.xml Thu Nov 19 11:50:06 2015
@@ -24,11 +24,19 @@
             <pattern>%date %-5level [%thread] %logger{10} %msg%n</pattern>
         </encoder>
     </appender>
+    <appender name="FILE" class="ch.qos.logback.core.FileAppender">
+        <file>perftests.log</file>
+        <append>false</append>
+        <encoder>
+            <pattern>%date %-5level [%thread] %logger{10} %msg%n</pattern>
+        </encoder>
+    </appender>
 
-    <logger name="org.apache.qpid" level="warn" />
+    <logger name="org.apache.qpid" level="${qpid.disttest.client.loglevel:-warn}" />
     <logger name="org.apache.qpid.disttest" level="${qpid.disttest.loglevel:-info}" />
 
     <root level="warn">
         <appender-ref ref="CONSOLE"/>
+        <appender-ref ref="FILE"/>
     </root>
 </configuration>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message