SLING-1384 - switching slf4j impl to log4j
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@910795 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index 45d566f..042dceb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -418,6 +418,12 @@
<artifactId>org.apache.sling.commons.testing</artifactId>
<version>2.0.5-SNAPSHOT</version>
<scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-simple</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.apache.sling</groupId>
@@ -433,7 +439,7 @@
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
- <artifactId>slf4j-simple</artifactId>
+ <artifactId>slf4j-log4j12</artifactId>
<version>1.5.2</version>
<scope>test</scope>
</dependency>
diff --git a/src/test/resources/log4j.properties b/src/test/resources/log4j.properties
new file mode 100644
index 0000000..3c47a03
--- /dev/null
+++ b/src/test/resources/log4j.properties
@@ -0,0 +1,7 @@
+log4j.rootLogger=info, stdout
+
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
+
+#log4j.category.http.wire=debug
\ No newline at end of file