Skip to content

Instantly share code, notes, and snippets.

@marianoguerra
Created June 10, 2014 14:48
Show Gist options
  • Save marianoguerra/971f8c0daea7a0ec0388 to your computer and use it in GitHub Desktop.
Save marianoguerra/971f8c0daea7a0ec0388 to your computer and use it in GitHub Desktop.
immutant 1.1.2 and tools.logging error
(ns logerror.core
(:require
[immutant.cache :as cache]
[clojure.tools.logging :as log]))
(println #'clojure.tools.logging/*logger-factory*)
(try
(def my-cache (cache/create "cache"))
(catch Exception e
(println #'clojure.tools.logging/*logger-factory*)))
(defproject logerror "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
[org.immutant/immutant "1.1.2"]
[org.clojure/tools.logging "0.2.6"]])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment