You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by sm...@apache.org on 2016/03/18 19:31:23 UTC

directory-fortress-core git commit: fix the logging problem

Repository: directory-fortress-core
Updated Branches:
  refs/heads/master 2bb919aa8 -> ffec608b1


fix the logging problem


Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/commit/ffec608b
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/ffec608b
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/ffec608b

Branch: refs/heads/master
Commit: ffec608b14ce5c4333b35e78163158cd12f6c696
Parents: 2bb919a
Author: Shawn McKinney <sm...@apache.org>
Authored: Fri Mar 18 02:18:39 2016 -0500
Committer: Shawn McKinney <sm...@apache.org>
Committed: Fri Mar 18 02:18:39 2016 -0500

----------------------------------------------------------------------
 config/log4j.xml |  6 ++----
 pom.xml          | 14 +++++++++-----
 2 files changed, 11 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/ffec608b/config/log4j.xml
----------------------------------------------------------------------
diff --git a/config/log4j.xml b/config/log4j.xml
index b61a4b1..078812e 100755
--- a/config/log4j.xml
+++ b/config/log4j.xml
@@ -19,7 +19,7 @@
  *
  -->
 <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
-<log4j:configuration debug="false" xmlns:log4j="http://jakarta.apache.org/log4j/">
+<log4j:configuration debug="true" xmlns:log4j="http://jakarta.apache.org/log4j/">
 
     <appender name="console" class="org.apache.log4j.ConsoleAppender">
         <layout class="org.apache.log4j.PatternLayout">
@@ -51,6 +51,4 @@
         <appender-ref ref="file"/>
     </root>
 
-</log4j:configuration>
-
-
+</log4j:configuration>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/ffec608b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 530d942..38473dd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -253,7 +253,7 @@
 
     <dependency>
       <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-simple</artifactId>
+      <artifactId>slf4j-log4j12</artifactId>
       <version>${version.slf4j.api}</version>
     </dependency>
 
@@ -472,6 +472,13 @@
       <scope>test</scope>
     </dependency>
 
+    <dependency>
+      <groupId>log4j</groupId>
+      <artifactId>log4j</artifactId>
+      <version>${version.log4j}</version>
+      <scope>test</scope>
+    </dependency>
+
   </dependencies>
 
   <build>
@@ -703,7 +710,6 @@
                     <pathelement location="${commons-pool:commons-pool:jar}" />
                     <pathelement location="${net.sf.ehcache:ehcache-core:jar}" />
                     <pathelement location="${org.slf4j:slf4j-api:jar}" />
-                    <pathelement location="${org.slf4j:slf4j-simple:jar}" />
                     <pathelement location="${org.slf4j:slf4j-log4j12:jar}" />
                     <pathelement location="${antlr:antlr:jar}" />
                     <pathelement location="${org.apache.cxf:cxf-api:jar}" />
@@ -773,14 +779,13 @@
                         <pathelement location="${net.sf.ehcache:ehcache-core:jar}" />
                         <pathelement location="${org.slf4j:slf4j-api:jar}" />
                         <pathelement location="${org.slf4j:slf4j-log4j12:jar}" />
-                        <pathelement location="${org.slf4j:slf4j-simple:jar}" />
                         <pathelement location="${antlr:antlr:jar}" />
                         <pathelement location="${junit:junit:jar}" />
                         <pathelement location="${org.apache.cxf:cxf-api:jar}" />
                         <pathelement location="${javax.ws.rs:javax.ws.rs-api:jar}" />
                         <pathelement location="${javax.ws.rs:javax.ws.rs-api:jar}" />
                         <pathelement location="${org.apache.httpcomponents:httpclient:jar}" />
-                          <pathelement location="${org.apache.httpcomponents:httpcore:jar}" />
+                        <pathelement location="${org.apache.httpcomponents:httpcore:jar}" />
                         <pathelement location="${com.sun.xml.bind:jaxb-impl:jar}" />
                         <pathelement location="${commons-codec:commons-codec:jar}" />
                       </classpath>
@@ -836,7 +841,6 @@
                         <pathelement location="${net.sf.ehcache:ehcache-core:jar}" />
                         <pathelement location="${org.slf4j:slf4j-api:jar}" />
                         <pathelement location="${org.slf4j:slf4j-log4j12:jar}" />
-                        <pathelement location="${org.slf4j:slf4j-simple:jar}" />
                         <pathelement location="${antlr:antlr:jar}" />
                         <pathelement location="${junit:junit:jar}" />
                         <pathelement location="${org.apache.cxf:cxf-api:jar}" />