Tassilo: I don't know it , but it is the most likely probability. One would hope that if a library is dumping to the console, or anywhere, it is done through a standard logging lib configurable by the client. If it turned out not to be the case, it would be evident quickly, and then try other possibilities.
Sent from my iPhone On Feb 8, 2012, at 3:15 PM, Tassilo Horn <tass...@member.fsf.org> wrote: > Mark Rathwell <mark.rathw...@gmail.com> writes: > >> It's logging, and assuming the logging implementation it is using >> log4j, > > Why do you know that from the information given? > > Just in case the java lib in fact uses System.out/err directly, one can > redirect standard out and error to something else. > > (with-open [w (clojure.java.io/writer "/dev/null")] > (binding [*out* w, *err* w] > (.noisyJavaCall1 1 2 3) > (.noisyJavaCall2 3 2 1))) > > Of course, /dev/null is somewhat platform specific. > > Bye, > Tassilo > > -- > 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 -- 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