I'm using the batik transcoder for svgs, and every time I convert an SVG image, it produces output on开发者_StackOverflow standard out. I'm assuming it's using a logging package of some kind. How do I disable this output?
You can set a custom ErrorHandler
on your transcoder object by calling setErrorHandler(). The default error handler spews messages like "ERROR: blah blah" to System.err
.
精彩评论