HCL Workload Automation, Version 9.4

Activating and deactivating traces in Application Lab

Describes how to activate or deactivate the Application Lab traces.

Activating traces

About this task

This task activates Application Lab traces.
Follow these steps to activate the Application Lab traces at run time:
  1. Log in to the Application Lab as administrator of the WebSphere Application Server
  2. In the Application Lab navigation pane select Settings > WebSphere Admin Console
  3. Click Launch WebSphere Admin Console.
  4. In the navigation tree, click Troubleshooting > Logs and Trace > server name (for example tdwcserver) > Diagnostic Trace.
  5. Select:
    Configuration
    If you want to apply the changes to the trace settings after having restarted the server.
    Run time
    If you want to apply the changes to the trace settings without restarting the server.
  6. Click Change Log Detail Levels under Additional Properties.
  7. Choose the packages for which you want to activate the traces. For the Application Lab traces, make this selection:
    1. Scroll down to com.ibm.tws.* and expand the tree
    2. Click com.ibm.tws.simpleui.* and com.ibm.twa.simpleui.*
    3. Either select All Messages and Traces or click Messages and Trace Levels and choose the trace level you require.
    4. Click OK > Save.
  8. Stop and start the server, if necessary.
Alternatively, you can activate the Application Lab traces as follows:
  1. Edit the following XML file:
    Installed on the WebSphere Application Server:
    JazzSM_profile_dir/config/cells/JazzSMNode01Cell/n
    odes/JazzSMNode01/servers/server1/server.xml
    where, the default value of JazzSM_profile_dir is:
    On Windows operating systems
    C:\Program Files\IBM\JazzSM\profile
    On UNIX operating systems
    /opt/IBM/JazzSM/profile
  2. Change the value assigned to the property startupTraceSpecification from:

    com.ibm.tws.simpleui.*=info and com.ibm.twa.simpleui.*=info

    to:

    com.ibm.tws.simpleui.*=all and com.ibm.twa.simpleui.*=all.

  3. Save the changes
  4. Stop and start the server.
When you enable tracing at run time the traces are stored in the following file:
Installed on the WebSphere Application Server:
<JazzSM_profile_dir>/logs/twaserver<n>/trace.log, (where <n> is null, 1, 2, and so on)

Deactivating traces

About this task

This task deactivates Application Lab traces.
Follow the instructions for activating traces (see Activating traces), with these differences:
Deactivating traces using the Integrated Solutions Console
When you have selected com.ibm.tws.simpleui.* or com.ibm.twa.simpleui.*, select Messages Only.
Deactivating traces by editing the startupTraceSpecification configuration
Change the value assigned to the property startupTraceSpecification from

com.ibm.tws.simpleui.*=all and com.ibm.twa.simpleui.*=all.

to

com.ibm.tws.simpleui.*=info and com.ibm.twa.simpleui.*=info