Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Javax web service client: suppress logging to stdout

927289Mar 29 2012 — edited Mar 30 2012
Hi,

I'm running a javax web service client in a JBOSS context. every minute I'm calling a javax web service to request some data. By default, the javax client is logging two message to STDOUT everytime I initialize the connection like this:
service = new AdapterServiceService(url, new QName("http://my.company.com/", "AdapterServiceService"));
client = service.getAdapterServicePort();

Since the STDOUT is redirected to my JBOSS log file, I see these two log lines on each call of my client:
2012-03-29 16:22:09,335 INFO [STDOUT] Retrieving document at 'http://192.168.2.11:8890/ADAPTER?wsdl'.
2012-03-29 16:22:09,337 INFO [STDOUT] Retrieving schema at 'http://192.168.2.11:8890/ADAPTER?xsd=1', relative to 'http://192.168.2.11:8890/ADAPTER?wsdl'.

These log lines seem to be generated somewhere inside of the javax code - is there a way to disable/suppress or change these messages? I don't want to see these messages in my JBOSS log file (only maybe when I have to do troubleshooting).

Thanks
Kurt
This post has been answered by jtahlborn on Mar 29 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 27 2012
Added on Mar 29 2012
3 comments
260 views