keycloak-aplcache

Added log4j to dev KeycloakServer

10/21/2013 6:57:02 AM

Details

pom.xml 5(+5 -0)

diff --git a/pom.xml b/pom.xml
index 61503c5..da29152 100755
--- a/pom.xml
+++ b/pom.xml
@@ -193,6 +193,11 @@
                 <version>${jboss.logging.version}</version>
             </dependency>
             <dependency>
+                <groupId>log4j</groupId>
+                <artifactId>log4j</artifactId>
+                <version>1.2.17</version>
+            </dependency>
+            <dependency>
                 <groupId>junit</groupId>
                 <artifactId>junit</artifactId>
                 <version>4.11</version>
diff --git a/testsuite/integration/pom.xml b/testsuite/integration/pom.xml
index 3614016..0e121c7 100644
--- a/testsuite/integration/pom.xml
+++ b/testsuite/integration/pom.xml
@@ -102,6 +102,10 @@
             <artifactId>picketlink-config</artifactId>
         </dependency>
         <dependency>
+            <groupId>log4j</groupId>
+            <artifactId>log4j</artifactId>
+        </dependency>
+        <dependency>
             <groupId>org.jboss.resteasy</groupId>
             <artifactId>resteasy-jaxrs</artifactId>
             <exclusions>
diff --git a/testsuite/integration/src/main/resources/log4j.properties b/testsuite/integration/src/main/resources/log4j.properties
new file mode 100644
index 0000000..b3c1c5c
--- /dev/null
+++ b/testsuite/integration/src/main/resources/log4j.properties
@@ -0,0 +1,5 @@
+log4j.rootLogger=debug, stdout
+
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p [%c] %m%n
\ No newline at end of file