Skip to content
Browse files

clojure.tools.logging ignores older log4j versions.

  • Loading branch information...
1 parent 2192ccf commit 6ac3048db4807d42d24a9fd46153a4a69f48c69d @technomancy committed May 22, 2012
Showing with 8 additions and 1 deletion.
  1. +1 −1 project.clj
  2. +7 −0 resources/log4j.properties
View
2 project.clj
@@ -6,5 +6,5 @@
[com.mefesto/wabbitmq "0.2.1"
:exclusions [org.clojure/clojure-contrib]]
[org.clojure/tools.logging "0.2.0"]
- [log4j "1.2.9"]]
+ [log4j "1.2.16"]]
:checksum-deps true)
View
7 resources/log4j.properties
@@ -0,0 +1,7 @@
+# standard out appender
+log4j.appender.C = org.apache.log4j.ConsoleAppender
+log4j.appender.C.layout = org.apache.log4j.PatternLayout
+log4j.appender.C.layout.ConversionPattern = %d | %c | %m%n
+
+# default logger
+log4j.rootLogger = WARN, C

0 comments on commit 6ac3048

Please sign in to comment.
Something went wrong with that request. Please try again.