wood burning stoves 2.0*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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 log4j.properties 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)


I agree. Here's the link: http://aspose.com/file-tools
subject: axis 1.4 logging to console?
Similar Threads
Unhandled execption in EXE containing executable jar file.
Unable to log to file
Server loggng with log4j Tomcat 6.x
Log4j Console Output
Struts Logging