Have you tried clojure.tools.logging to see whether you get the same behavior?
On Fri, Nov 11, 2011 at 8:15 AM, finbeu <info_pe...@t-online.de> wrote: > Hello, > I'm using log4j and have some a simple wrappers in clojure that work well so > far. > Actually, I do > (def *logger* (Logger/getRootLogger)) > > Then I set loglevel, appenders, layout and so on. > I have a function > (defn debug [msg] > (.debug *logger* msg) > This works nice as long as I do not try to log a lazy sequence. Instead, the > string clojure.lang.LazySeq@hdk73gdf9 gets logged instead of the content. > How can I enforce logging of a lazy sequence? I tried to wrap it with doall > but it has no effect. > Thx. > Finn -- 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