Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

axis 1.4 logging to console?

 
Peter Kirk
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic