aspose file tools*
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
Author

axis 1.4 logging to console?

Peter Kirk
Greenhorn

Joined: Oct 12, 2011
Posts: 12
Hi
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)


Thanks,
Peter

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: axis 1.4 logging to console?