Manage trace using the server task trace

Tracing can be activated either through a routing file or through the server task trace command. The server task trace command can be issued through either the pdadmin utility or programmatically through the ISAM Administrative API.

To list all of the trace components offered by a server, issue the trace list command:

For example.

To change the level and destination for a specific trace point:

Where:

Set the trace level to 9 for the pdwebpi.request component. Output is sent to /tmp/log.txt on the WebPI server.

To show the names and levels for all enabled trace components:

If the optional component parameter is omitted, the output lists the name and level of all of the enabled trace components.

Parent topic: Trace event logs