• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

axis 1.4 logging to console?

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
reply
    Bookmark Topic Watch Topic
  • New Topic