Skip to content

Instantly share code, notes, and snippets.

@tobias
Forked from marianoguerra/core.clj
Last active August 29, 2015 14:02
Show Gist options
  • Save tobias/77653dd312a74caf60a1 to your computer and use it in GitHub Desktop.
Save tobias/77653dd312a74caf60a1 to your computer and use it in GitHub Desktop.
(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
(.printStackTrace 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