Win a copy of Terraform in Action this week in the Cloud forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

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,
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic