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

Reply via email to