What is ring/jetty doing with my *out*?
It seems that when using ring/jetty, *out* is getting eaten or thrown away. I'm a n00b to clojure and the java world in general, but it seems odd that (prn something) should silently fail? I'm guessing that I'm missing some configuration somewhere? Help? :) --Colin -- 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
Re: What is ring/jetty doing with my *out*?
On 10 September 2010 15:39, Colin Steele cvillecste...@gmail.com wrote: It seems that when using ring/jetty, *out* is getting eaten or thrown away. I'm a n00b to clojure and the java world in general, but it seems odd that (prn something) should silently fail? I'm guessing that I'm missing some configuration somewhere? Help? :) *out* should be untouched. I regularly use prn from within the Jetty adapter with no issue. Can your reproduce the issue? Perhaps provide some cut-down example that should print to *out* but doesn't? - James -- 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
Re: What is ring/jetty doing with my *out*?
Ahhh... I found it. I was actually using print not prn. Switching to prn works! :) (flushing?) On Sep 10, 11:30 am, James Reeves jree...@weavejester.com wrote: On 10 September 2010 15:39, Colin Steele cvillecste...@gmail.com wrote: It seems that when using ring/jetty, *out* is getting eaten or thrown away. I'm a n00b to clojure and the java world in general, but it seems odd that (prn something) should silently fail? I'm guessing that I'm missing some configuration somewhere? Help? :) *out* should be untouched. I regularly use prn from within the Jetty adapter with no issue. Can your reproduce the issue? Perhaps provide some cut-down example that should print to *out* but doesn't? - James -- 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