In testing out clojure.contrib.logging within a generated servlet, I noticed that the value of *ns* is always clojure.core, and not the ns of the code.
I just wanted to make sure I wasn't missing something obvious. The servlet code: (ns com.example.servlet (:require (clojure.contrib [logging :as log])) (:import (javax.servlet.http HttpServlet HttpServletRequest HttpServletResponse)) (:gen-class :extends javax.servlet.http.HttpServlet)) (defn -doGet [this #^HttpServletRequest req #^HttpServletResponse resp] (.. resp getWriter (println *ns*))) Expected response: com.example.servlet Actual response: clojure.core --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---