You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by du...@apache.org on 2018/05/17 16:58:35 UTC

[incubator-openwhisk] branch master updated: Disable Slf4jLogger startup log (#3652)

This is an automated email from the ASF dual-hosted git repository.

dubeejw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new a4b8410  Disable Slf4jLogger startup log (#3652)
a4b8410 is described below

commit a4b84105af0d084b91521cac44314209b9e16dd5
Author: Chetan Mehrotra <ch...@apache.org>
AuthorDate: Thu May 17 22:28:31 2018 +0530

    Disable Slf4jLogger startup log (#3652)
---
 tests/src/test/resources/logback-test.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/tests/src/test/resources/logback-test.xml b/tests/src/test/resources/logback-test.xml
new file mode 100644
index 0000000..ae31af6
--- /dev/null
+++ b/tests/src/test/resources/logback-test.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration>
+    <jmxConfigurator></jmxConfigurator>
+    <appender name="console" class="ch.qos.logback.core.ConsoleAppender">
+        <encoder>
+            <pattern>[%d{yyyy-MM-dd'T'HH:mm:ss.SSS'Z'}] [%p] %msg%n</pattern>
+        </encoder>
+    </appender>
+
+    <!-- Apache HttpClient -->
+    <logger name="org.apache.http" level="ERROR" />
+
+    <!-- Kafka -->
+    <logger name="org.apache.kafka" level="ERROR" />
+
+    <logger name="akka.event.slf4j.Slf4jLogger" level="WARN" />
+
+    <root level="${logback.log.level:-INFO}">
+        <appender-ref ref="console" />
+    </root>
+</configuration>
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
dubeejw@apache.org.