cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cxf git commit: Adding extended logging to troubleshoot flaky Tomcat SSE test cases (unable to reproduce it locally)
Date Fri, 30 Dec 2016 23:29:45 GMT
Repository: cxf
Updated Branches:
  refs/heads/master e66ce235e -> 101e9a0a4


Adding extended logging to troubleshoot flaky Tomcat SSE test cases (unable to reproduce it
locally)


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/101e9a0a
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/101e9a0a
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/101e9a0a

Branch: refs/heads/master
Commit: 101e9a0a43f2d819057d995adbb6e6776d5c7f40
Parents: e66ce23
Author: reta <drreta@gmail.com>
Authored: Fri Dec 30 18:29:25 2016 -0500
Committer: reta <drreta@gmail.com>
Committed: Fri Dec 30 18:29:25 2016 -0500

----------------------------------------------------------------------
 systests/rs-sse/pom.xml                                 |  5 +++--
 .../test/resources/META-INF/cxf/org.apache.cxf.Logger   |  1 +
 systests/rs-sse/src/test/resources/logback.xml          | 12 ++++++++++++
 3 files changed, 16 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/101e9a0a/systests/rs-sse/pom.xml
----------------------------------------------------------------------
diff --git a/systests/rs-sse/pom.xml b/systests/rs-sse/pom.xml
index 2a346ca..197f624 100644
--- a/systests/rs-sse/pom.xml
+++ b/systests/rs-sse/pom.xml
@@ -60,8 +60,9 @@
             <artifactId>jetty-webapp</artifactId>
         </dependency>
         <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-jdk14</artifactId>
+            <groupId>ch.qos.logback</groupId>
+            <artifactId>logback-classic</artifactId>
+            <version>${cxf.logback.classic.version}</version>
             <scope>test</scope>
         </dependency>
         <dependency>

http://git-wip-us.apache.org/repos/asf/cxf/blob/101e9a0a/systests/rs-sse/src/test/resources/META-INF/cxf/org.apache.cxf.Logger
----------------------------------------------------------------------
diff --git a/systests/rs-sse/src/test/resources/META-INF/cxf/org.apache.cxf.Logger b/systests/rs-sse/src/test/resources/META-INF/cxf/org.apache.cxf.Logger
new file mode 100644
index 0000000..27dd788
--- /dev/null
+++ b/systests/rs-sse/src/test/resources/META-INF/cxf/org.apache.cxf.Logger
@@ -0,0 +1 @@
+org.apache.cxf.common.logging.Slf4jLogger
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cxf/blob/101e9a0a/systests/rs-sse/src/test/resources/logback.xml
----------------------------------------------------------------------
diff --git a/systests/rs-sse/src/test/resources/logback.xml b/systests/rs-sse/src/test/resources/logback.xml
new file mode 100644
index 0000000..29c0c7c
--- /dev/null
+++ b/systests/rs-sse/src/test/resources/logback.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration scan="true" scanPeriod="5 seconds">
+	<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+		<encoder>
+			<pattern>[%level] %d{yyyy-MM-dd HH:mm:ss.SSS} %logger{36} - [%X] %msg%n</pattern>
+		</encoder>
+	</appender>
+
+	<root level="DEBUG">
+		<appender-ref ref="STDOUT" />
+	</root>
+</configuration>
\ No newline at end of file


Mime
View raw message