server task trace
Enables the gathering of trace information for components of installed Security Verify Access servers or server instances.
Requires authentication (administrator ID and password) to use this command.
Syntax
server task server_name–host_name trace list [component]
server
task server_name–host_name trace set component level [destination]
server
task server_name–host_name trace show [component]
Description
The server task stats command enables the gathering of trace information for components of installed Security Verify Access servers or server instances that support debug event tracing. The content of trace messages is undocumented and is intended to be used for debugging purposes only. The format and content of trace messages might vary between product releases.
Options
list[component]- Lists all enabled trace components that are available to gather
and report trace information. If you specify the
componentoption and the component is enabled, the output lists that component; otherwise, no output is displayed. If you do not specify thecomponentoption, the output lists all enabled components. server_name–host_name- Specifies the name of the server or server instance. You must
specify the server name in the exact format as it is shown in the
output of the server list command.
For example, if the configured name of a single WebSEAL server on host
example.dallas.ibm.comisdefault, theserver_namewould bedefault-websealdand thehost_namewould beexample.dallas.ibm.com. For this example, the name of the server would bedefault-webseald-example.dallas.ibm.com.If multiple server instances are configured on the same computer, for example:- The host is
example.dallas.ibm.com. - The configured name of the WebSEAL server instance is
webseal2-webseald.
- The
server_nameiswebseal2-webseald. - The
host_nameisexample.dallas.ibm.com. - The name of the server instance is
webseal2-webseald-example.dallas.ibm.com.
- The host is
setcomponentlevel[destination]- Sets the trace level and trace message destination for a specific
componentand its subordinates. The value for theleveloption is a single integer from1to9, with9reporting the most detailed level of information. Thedestinationoption specifies where the gathered trace information is written and can be one of the following options:filepath=file_name- Specifies the fully qualified file name.
log_agent- Specifies a destination for the statistics information that is gathered for the specified component. For more information about logging events, see the Administering topics in the IBM Knowledge Center.
show[component]- Shows the names and levels for all enabled trace components. If
you specify the
componentoption, the output lists the name and level for the specified component.
Return codes
- 0
- The command completed successfully.
- 1
- The command failed. When a command fails, the pdadmin command
provides a description of the error and an error status code in hexadecimal
format (for example,
0x14c012f2). See "Error messages" in the IBM Knowledge Center. This reference provides a list of the Security Verify Access error messages by decimal or hexadecimal codes.
Examples
- The following example enables the
pdweb.debugtrace component to level2and then displays the output for all enabled components. WebSEAL–specific components are prefixed withpdweb.
Output from the trace show command is like:pdadmin sec_master> server task webseald-instance_nametrace set pdweb.debug 2 pdadmin sec_master> server task webseald-instance_nametrace showpdweb.debug 2 - The following example enables the
pdwebpi.module.session-cookietrace component to level 9. Then, the output for all enabled components is displayed. Components that are specific to the web server plug-ins are prefixed withpdwebpi.
Output from the trace show command is like:pdadmin sec_master> server task pdwpi-tivoli.com trace set pdwebpi.module.session-cookie 9 pdadmin sec_master> server task pdwpi-tivoli.com trace showpdwebpi.module.session-cookie 9