From 7980b7c1c65c0d0ed104168ebb63a576c63f70c4 Mon Sep 17 00:00:00 2001 From: Gustavo Martin Morcuende Date: Sat, 19 Dec 2015 16:10:22 +0100 Subject: [PATCH] Getting rid of Jakarta Commons Logging (used by Spring) --- README.md | 1 - .../src/main/resources/log4j2.xml | 51 ++++++++++++++++- .../src/main/resources/log4j2.xml | 64 +++++++++++++++++++++- cxf/web-services-spring-cxf/pom.xml | 51 +++++++++++++++++ .../src/main/resources/log4j2.xml | 53 +++++++++++++++++- .../src/main/resources/log4j2.xml | 64 +++++++++++++++++++++- jaxb2/web-services-spring-jaxb2/pom.xml | 49 +++++++++++++++++ 7 files changed, 323 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index bd6a569..d29c636 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,5 @@ mvn clean install -Dmaven.test.skip=true TODO: using Jetty instead of Tomcat -TODO: logging Spring information For debugging: export MAVEN_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y" diff --git a/cxf/web-services-spring-cxf-client/src/main/resources/log4j2.xml b/cxf/web-services-spring-cxf-client/src/main/resources/log4j2.xml index 18a4008..1bf2492 100644 --- a/cxf/web-services-spring-cxf-client/src/main/resources/log4j2.xml +++ b/cxf/web-services-spring-cxf-client/src/main/resources/log4j2.xml @@ -1,13 +1,60 @@ - + + + + - + + + + + + + + + + + + + + + + + + + + + + diff --git a/cxf/web-services-spring-cxf-server/src/main/resources/log4j2.xml b/cxf/web-services-spring-cxf-server/src/main/resources/log4j2.xml index 18a4008..6ff67a4 100644 --- a/cxf/web-services-spring-cxf-server/src/main/resources/log4j2.xml +++ b/cxf/web-services-spring-cxf-server/src/main/resources/log4j2.xml @@ -1,13 +1,73 @@ - + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/cxf/web-services-spring-cxf/pom.xml b/cxf/web-services-spring-cxf/pom.xml index a325a06..0e33534 100644 --- a/cxf/web-services-spring-cxf/pom.xml +++ b/cxf/web-services-spring-cxf/pom.xml @@ -39,16 +39,35 @@ + org.apache.logging.log4j log4j-slf4j-impl 2.3 + org.apache.logging.log4j log4j-core 2.3 + + + org.slf4j + jcl-over-slf4j + 1.7.12 + cglib cglib @@ -61,11 +80,31 @@ org.springframework.ws spring-ws-core ${spring.ws.version} + + + + commons-logging + commons-logging + + org.springframework.ws spring-xml ${spring.ws.version} + + + + commons-logging + commons-logging + + org.jdom @@ -98,6 +137,16 @@ spring-ws-test ${spring.ws.version} test + + + + commons-logging + commons-logging + + org.mockito @@ -108,6 +157,7 @@ + @@ -122,6 +172,7 @@ + org.apache.maven.plugins diff --git a/jaxb2/web-services-spring-jaxb2-client/src/main/resources/log4j2.xml b/jaxb2/web-services-spring-jaxb2-client/src/main/resources/log4j2.xml index 18a4008..5bbca37 100644 --- a/jaxb2/web-services-spring-jaxb2-client/src/main/resources/log4j2.xml +++ b/jaxb2/web-services-spring-jaxb2-client/src/main/resources/log4j2.xml @@ -1,14 +1,61 @@ - + + + + - + + + + + + + + + + + + + + + + + + + + + + - + \ No newline at end of file diff --git a/jaxb2/web-services-spring-jaxb2-server/src/main/resources/log4j2.xml b/jaxb2/web-services-spring-jaxb2-server/src/main/resources/log4j2.xml index 18a4008..6ff67a4 100644 --- a/jaxb2/web-services-spring-jaxb2-server/src/main/resources/log4j2.xml +++ b/jaxb2/web-services-spring-jaxb2-server/src/main/resources/log4j2.xml @@ -1,13 +1,73 @@ - + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/jaxb2/web-services-spring-jaxb2/pom.xml b/jaxb2/web-services-spring-jaxb2/pom.xml index da59eba..4badaa6 100644 --- a/jaxb2/web-services-spring-jaxb2/pom.xml +++ b/jaxb2/web-services-spring-jaxb2/pom.xml @@ -39,16 +39,35 @@ + org.apache.logging.log4j log4j-slf4j-impl 2.3 + org.apache.logging.log4j log4j-core 2.3 + + + org.slf4j + jcl-over-slf4j + 1.7.12 + cglib cglib @@ -61,11 +80,31 @@ org.springframework.ws spring-ws-core ${spring.ws.version} + + + + commons-logging + commons-logging + + org.springframework.ws spring-xml ${spring.ws.version} + + + + commons-logging + commons-logging + + org.jdom @@ -98,6 +137,16 @@ spring-ws-test ${spring.ws.version} test + + + + commons-logging + commons-logging + + org.mockito -- 2.1.4