WebSphere Application Server Network Deployment, Version 6.0.x   Operating Systems: AIX, HP-UX, Linux, Solaris, Windows
             [TIP: Focusing the table of contents and search results]

Tracing operations with the wsadmin tool

You can enable tracing with scripting and the wsadmin tool.

Before you begin

Before starting this task, the wsadmin tool must be running. See the Starting the wsadmin scripting client article for more information.

About this task

Perform the following steps to trace operations:

Procedure

Enable wsadmin client tracing with the following command: where:
$ is a Jacl operator for substituting a variable name with its value
AdminControl is an object that enables the manipulation of MBeans running in a WebSphere server process
trace is an AdminControl command
com.ibm.*=all=enabled indicates to turn on tracing
The following command disables tracing: where:
$ is a Jacl operator for substituting a variable name with its value
AdminControl is an object that enables the manipulation of MBeans running in a WebSphere server process
trace is an AdminControl command
com.ibm.*=all=disabled indicates to turn off tracing
The trace command changes the trace settings for the current session. You can change this setting persistently by editting the wsadmin.properties file. The property com.ibm.ws.scripting.traceString is read by the launcher during initialization. If it has a value, the value is used to set the trace.

A related property, com.ibm.ws.scripting.traceFile, designates a file to receive all trace and logging information. The wsadmin.properties file contains a value for this property. Run the wsadmin tool with a value set for this property. It is possible to run without this property set, where all logging and tracing goes to the administrative console.




Related tasks
Setting up profile scripts to make tracing easier using scripting
Dumping threads in server processes using scripting
Using the AdminControl object for scripted administration
Related reference
Commands for the AdminControl object
Task topic    

Terms of Use | Feedback

Last updated: Mar 8, 2007 8:14:28 PM CST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/txml_traceadmincontrol.html

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