Setting the traces on the application server for the major IBM Workload Scheduler processes
- Command line
- Connector
- Database
- Planner
- Utilities
- Dynamic workload broker
Significant impact on performance: Activating traces for the WebSphere Application Server Liberty Base leads to a significant impact on performance, especially if you set the tracing to all. Thus you are strongly advised to identify the process group where the problem that you want to trace is occurring, and only set the trace to that group.
To modify the trace level on the WebSphere Application Server Liberty Base, edit the trace.xml file as necessary.
- On UNIX operating systems
- TWA_home/usr/servers/engineServer/configDropins/templates
- On Windows operating systems
- TWA_home\usr\servers\engineServer\configDropins\templates
- On UNIX operating systems
- DWC_home/usr/servers/dwcServer/configDropins/templates
- On Windows operating systems
- DWC_home\usr\servers\dwcServer\configDropins\templates
- On UNIX operating systems
- TWA_DATA_DIR/usr/servers/engineServer/configDropins/overrides
- On Windows operating systems
- TWA_home\usr\servers\engineServer\configDropins\overrides
- On UNIX operating systems
- DWC_DATA_dir/usr/servers/dwcServer/configDropins/overrides
- On Windows operating systems
- DWC_home\usr\servers\dwcServer\configDropins\overrides
- Copy the template file from the templates folder to a working folder.
- Edit the template file in the working folder with the desired configuration.
- Optionally, create a backup copy of the relevant configuration file present in the overrides directory in a different directory. Ensure you do not copy the backup file in the path where the template files are located.
- Copy the updated template file to the overrides folder. Maintaining the original folder structure is not required.
- Changes are effective immediately.
- Copy the trace.xml file from the TWA_home/usr/servers/engineServer/configDropins/templates folder to a working folder.
- Edit the template file in the working folder by changing the following
string:
into<variable name="trace.specification" value="*info"/>
<variable name="trace.specification" value="com.ibm.tws.dao.model. =all:com.ibm.tws.dao.rdbms.=all"/>
- Copy the updated template file to TWA_DATA_DIR /usr/servers/engineServer/configDropins/overrides. Changes are effective immediately.
Traces are stored in DWC_DATA_dir/appserver/engineServer/logs.
- tws_all
- "com.ibm.tws.=all:org.apache.wink.server.=all:com.hcl.tws.*=all"
- tws_alldefault
- "com.ibm.tws.*=error=enabled"
- tws_broker_all
- "com.ibm.scheduling.*=all:TWSAgent=all"
- tws_rest
- " com.ibm.tws.conn.=all:com.ibm.tws.twsd.rest.=all:org.apache.wink.server.*=all"
- tws_cli
- "com.ibm.tws.cli.=all:com.ibm.tws.objects.=all"
- tws_utils
- "com.ibm.tws.util.*=all"
- tws_conn
- "com.ibm.tws.conn.=all:com.ibm.tws.objects.=all:com.ibm.tws.updatemanager.=all:com.ibm.tws.dao.plan.=all"
- tws_db
- "com.ibm.tws.dao.model.=all:com.ibm.tws.dao.rdbms.=all"
- tws_planner
- "com.ibm.tws.planner.=all:com.tivoli.icalendar.=all:com.ibm.tws.runcycles.=all:com.ibm.tws.conn.planner.=all:com.ibm.tws.cli.planner.*=all"
- tws_secjni
- "com.ibm.tws.audit.=all:com.ibm.tws.security.=all"
- tws_engine_broker_all
- "com.ibm.tws.=all:com.ibm.scheduling.=all:TWSAgent=all"
Editing the logging element above with the traceSpecifcation value to tws_all, enables "com.ibm.tws.=all:org.apache.wink.server.=all:com.hcl.tws.*=all".
Other values are reported in variable tags above. You can also replace the value of the trace.specification parameter with a custom string.