I am using a proprietary API in Java. Its connect method unleashes a barrage of log messages on my standard output. That makes it impossible for me to read the messages from my own logger. Unfortunately, the setOut method of the API does not work.
Is there a way to block the connect method from writing to standard output?