Last active
December 17, 2015 04:09
-
-
Save bonkydog/5548539 to your computer and use it in GitHub Desktop.
Force clojure.tools.logging to use a specific logging package By default, clojure.tools.logging picks the logging package it prefers from whatever is available in your classpath. Found this solution at http://corfield.org/blog/post.cfm/real-world-clojure-logging
Thanks, Sean!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (alter-var-root | |
| (var clojure.tools.logging/*logger-factory*) | |
| (constantly (clojure.tools.logging.impl/log4j-factory))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment