• 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

Problem with Setting up Jakarta Logging with AXIS

 
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am using AXIS 1.2 RC2, IBM WSAD 5.1.2, IBM WebSphere 5.0 Test Enviroment inside WSAD. I am trying to setup Jakarta Commons Logging with my AXIS web application deployed using WSAD. I have my commons-logging.properties file and
log4j.properties file in my WEB-INF\classes\lib directory. Basically I want see all types(levels like TRACE, DEBUG, INFO, WARN, ERROR, FATAL) of log messages that axis classes use when I expose or consume any web service.
Below are the content for these files :


commons-logging.properties
------------------------------
org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog



log4j.properties
------------------------------
log4j.rootCategory=DEBUG, dest1
log4j.appender.dest1=org.apache.log4j.FileAppender
log4j.appender.dest1.File=log4j.log
log4j.appender.dest1.Append=false
log4j.appender.dest1.layout=org.apache.log4j.PatternLayout
log4j.appender.dest1.layout.ConversionPattern=%p %t %c - %m %n


Now, I tried to consume a web service that is deployed on AXIS using standalone java client program. The problem is neither I see axis any debug level messages or its above level message neither in a file called log4j.log which I configured in my log4j.properties Nor in WSAD WebSphere 5.0 Test Environment Console ?

Am I doing anything in my configuration. Please suggest ?



Thanks & Regards,
 
reply
    Bookmark Topic Watch Topic
  • New Topic