Managing log4j.properties with lein

Posted by erikcw on Stack Overflow See other posts from Stack Overflow or by erikcw
Published on 2010-06-01T22:02:40Z Indexed on 2010/06/01 22:03 UTC
Read the original article Hit count: 246

Filed under:
|

I'm trying to figure out how I can manage my log4j.properties file with leiningen. I'd like to be able to automatically include the file in the jars that lein creates as well as have the properties file be accessible to "lein swank" (and lein repl).

Right now I have the file in my project "root", but I get this error when I using logging from swank

[null] log4j:WARN No appenders could be found for logger (com.dev).
[null] log4j:WARN Please initialize the log4j system properly.

Thanks!

© Stack Overflow or respective owner

Related posts about clojure

Related posts about leiningen