This content has been marked as final.
Show 2 replies
-
1. Re: Preventing STDERR in log for Metro 2.0 jars in webservice cl
valgoerad Feb 10, 2010 2:26 AM (in response to akpandey)I've got a similar problem. Class annotated with standard @Webservice, @Webmethod prints to my STDERR which I like to keep error free.
Any solutions?
-
2. Re: Preventing STDERR in log for Metro 2.0 jars in webservice cl
m.schmitz Dec 14, 2010 11:06 AM (in response to akpandey)Maybe it is a little late for an answer but ... :-).
I guess your webservice client uses java.util.logging. Please check the JRE/lib/logging.properties if a ConsoleHandler is configured. The ConsoleHandler writes everything out to STDERR which JBoss handles as an [ERROR].
Maybe you can configure an other Handler or supress logging messages lower than SEVERE or take a look at
http://community.jboss.org/wiki/LoggingPlug-inJDKjavautillogging
http://community.jboss.org/wiki/JDKLoggerMBean
http://download.oracle.com/javase/6/docs/technotes/guides/logging/index.html