diff --git a/src/test/resources/java-util-logging.properties b/src/test/resources/java-util-logging.properties new file mode 100644 index 00000000..37ccf2c3 --- /dev/null +++ b/src/test/resources/java-util-logging.properties @@ -0,0 +1,8 @@ +# java.util.logging (JUL) configuration + +org.apache=ERROR +org.springframework=ERROR +org.springframework.data.gemfire.listener.adapter.ContinuousQueryListenerAdapter=OFF +org.springframework.data.gemfire.listener.adapter.ContinuousQueryListenerAdapter.useParentHandlers=false +org.springframework.data.gemfire.support.SpringContextBootstrappingInitializer=OFF +org.springframework.data.gemfire.support.SpringContextBootstrappingInitializer.useParentHandlers=false diff --git a/src/test/resources/log4j.properties b/src/test/resources/log4j.properties deleted file mode 100644 index 461e444c..00000000 --- a/src/test/resources/log4j.properties +++ /dev/null @@ -1,12 +0,0 @@ -log4j.rootCategory=WARN, stdout - -log4j.appender.stdout=org.apache.log4j.ConsoleAppender -log4j.appender.stdout.layout=org.apache.log4j.PatternLayout -log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - <%m>%n - -#log4j.category.org.springframework.data.gemfire.listener=TRACE -#log4j.category.org.springframework.data.gemfire=DEBUG -#log4j.category.org.springframework=DEBUG - -# for debugging datasource initialization -# log4j.category.test.jdbc=DEBUG diff --git a/src/test/resources/log4j2-test.xml b/src/test/resources/log4j2-test.xml new file mode 100644 index 00000000..8ab87c1a --- /dev/null +++ b/src/test/resources/log4j2-test.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/src/test/resources/logback.xml b/src/test/resources/logback.xml index 098263de..4d64c87c 100644 --- a/src/test/resources/logback.xml +++ b/src/test/resources/logback.xml @@ -1,7 +1,7 @@ - + @@ -9,6 +9,8 @@ + + TEST - %m%n @@ -19,10 +21,14 @@ - + + + + +