You can enable and disable tracing with scripting and the wsadmin tool.
Before starting this task, the wsadmin tool must be running. See the topic about starting the wsadmin tool.
Use a trace command to trace operations.
The trace command changes the trace settings for the current session. You can change this setting persistently by editing 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.
Enable Tracing wsadmin.sh -javaoption -Dcom.ibm.ws.scripting.traceString=com.ibm.*=all=enabled
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.
In this information ...Related tasks
| IBM Redbooks, demos, education, and more(Index) |