File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes axis 1.4 logging to console? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "axis 1.4 logging to console?" Watch "axis 1.4 logging to console?" New topic

axis 1.4 logging to console?

Peter Kirk

Joined: Oct 12, 2011
Posts: 12
I am writing a program which contacts a webservice to obtain some data. To handle the connection to the webservice I am using "WTP" in Eclipse. It appears the WTP uses "Axis".

In any case, during my testing (under Resin), I have a console running, and the console is totally spammed with log messages which appear to originate from Axis. Has anyone else experienced this - and how can it be stopped?
I am using log4j (via commons logging) to perform my own logging - but that is writing to a file, and only from my own classes (my has settings for DEBUG for my own classes, and ERROR for root logger - but the output I see from Axis is clearly DEBUG logging - it appears to be log4j output to the console, but I'm not sure).

The sort of thing I see is:

DEBUG o.a.axis.transport.http.HTTPSender - HTTP/1.1 200 OK

and lots of stuff like:

DEBUG o.a.a.e.DeserializationContext - Enter: DeserializationContext ::endElement(http://AS/Service/UserService, Path)


It is sorta covered in the JavaRanch Style Guide.
subject: axis 1.4 logging to console?