3 Replies Latest reply: Mar 30, 2012 3:37 AM by gimbal2 RSS

    Javax web service client: suppress logging to stdout

    927289
      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