> What seems to be happening is that when I build my 'gen-class' package, the
> class is nailed down even though logging.clj itself is not gen-classed.

I'm not familiar with GAE but as a workaround can you include the
commons-logging.jar in your war file? Then configure commons-logging
to delegate to java.util.logging.

Otherwise, you could use java.util.logging directly. Remove
clojure.contrib.logging from your servlet and import the java logging
classes. You'd still want to configure the logger to use the provided
name and not perform stack-inspection as noted in the
clojure.contrib.logging description.
Otherwise, you could use java.util.logging directly. Remove
clojure.contrib.logging from your servlet and import the java logging
classes. You'd still want to configure the logger to use the provided
name and not perform stack-inspection as noted in the
clojure.contrib.logging description.

Ex.
--
(ns example.logging
  (:import [java.util.logging Logger]))

(def log (Logger/getLogger "logger.name"))

(.info log "my log message")

--
Allen

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to