WebSphere Application Server Network Deployment, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Trace and logging for WSIF

Why and when to perform this task

If you want to enable trace for the Web Services Invocation Framework (WSIF) API within WebSphere Application Server, and have trace, stdout and stderr for the application server written to a well-known location, see Enabling tracing and logging.

WSIF offers trace points at the opening and closing of ports, the invocation of services, and the responses from services.

To trace the WSIF API, you need to specify the following trace string:

wsif=all=enabled

WSIF also includes a SimpleLog utility through which you can run trace when using WSIF outside of WebSphere Application Server. To enable this utility, complete the following steps:

Steps for this task

  1. Create a file named commons-logging.properties with the following contents:
    org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl
    org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
    
  2. Create a file named simplelog.properties with the following contents:
    org.apache.commons.logging.simplelog.defaultlog=trace
    org.apache.commons.logging.simplelog.showShortLogname=true
    org.apache.commons.logging.simplelog.showdatetime=true
    
  3. Put both these files, and the commons-logging.jar file, on the class path.

Result

The SimpleLog uitility writes trace to the System.err file.



Related reference
WSIF (Web Services Invocation Framework) messages

Task topic    

Terms of Use | Feedback

Last updated: Mar 17, 2005 4:28:29 AM CST
http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/twsf_tracelog.html

© Copyright IBM Corporation 2002, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)