I'm using tools bbuild for building pom.xml, which prints messages to *err* using tools deps utils function e.g. here.
I would like to have control on what's printed, so I did simple:
(let [s (new java.io.StringWriter)]
(binding [*out* s *err* s] (clj-build-api/write-pom params)))
This binding takes no effect and there is no way to suppress the messages due to pod not being affected by binding.
Temporary solution:
After starting, evaluating
(require 'clojure.tools.deps.util.io :reload)
makes binding to work