Tivoli Workload Automation, Version 9.1

Log files and archived files

Log files are produced from a variety of Tivoli Workload Scheduler activities. Other activities produce files which are archived after they have been used. The details are given in Table 1:
Table 1. Log and trace file maintenance
Activity Description Location Maintenance method
Fault-tolerant agent Each Tivoli Workload Scheduler process logs its activities, writing them in log and trace message files:    

Log messages

These are messages intended for use directly by you, and provide information, errors and warnings about the processes.

netman
<TWA_home>/TWS/stdlist/logs/<yyyymmdd>_NETMAN.log
Other processes
<TWA_home>/TWS/stdlist/logs/<yyyymmdd>_TWSMERGE.log
This is the default situation. You can set an option in the localopts file to create separate log files for the major processes.
rmstdlist

Trace messages

These are messages written when a problem occurs that you can probably not solve without the assistance of IBM® Software Support.

netman
<TWA_home>/TWS/stdlist/traces/<yyyymmdd>_NETMAN.log
Other processes
<TWA_home>/TWS/stdlist/traces/<yyyymmdd>_TWSMERGE.log
This is the default situation. You can set an option in the localopts file to create separate trace files for the major processes.
Master domain manager job management The job manager process on the master domain manager archives the previous period's Symphony file. <TWA_home>/TWS/schedlog Manual
Job Each job that runs under Tivoli Workload Scheduler control creates an output file. These files are archived. <TWA_home>/TWS/stdlist/<date>

where <date> is in the format yyyy.mm.dd

rmstdlist
Start of changeDynamic agentEnd of change Start of change

Log messages

End of change
Start of change
Windows
<TWA_home>\TWS\stdlist\JM\JobManager_message.log
UNIX
<TWA_home>/TWS/stdlist/JM/JobManager_message.log
End of change
Start of changeRegular housekeeping is performed through the configuration of several parameters. See Regular maintenance.End of change

Trace messages

Windows
  • <TWA_home>\TWS\stdlist\JM\ITA_trace.log
  • <TWA_home>\TWS\stdlist\JM\JobManager_trace.log
  • <TWA_home>\TWS\JavaExt\logs\javaExecutor0.log
UNIX
  • <TWA_home>/TWS/stdlist/JM/ITA_trace.log
  • <TWA_home>/TWS/stdlist/JM/JobManager_trace.log
  • <TWA_home>/TWS/JavaExt/logs/javaExecutor0.log

Jobs with advanced options

Windows
<TWA_home>\TWS\stdlist\JM\<date>
UNIX
<TWA_home>/TWS/stdlist/JM/<date>

where <date> is in the format yyyy.mm.dd

Forecast and trial plan creation The creation of forecast and trial plans require manual maintenance.
Forecast plan
These files are to be maintained manually
Trail plan
These files are to be maintained manually
Manual
Audit The audit facility writes log files. <TWA_home>/TWS/audit Manual
DB2® UDB DB2 logs its activities. Information about the location and viewing method for DB2 log files is supplied in the DB2 documentation. Go to the Information Center for DB2 (see Tivoli® Workload Automation: Publications for the link).

The main file to control is the db2diag.log file, which is the most important DB2 diagnostic file, which, without intervention, grows endlessly with no reuse of wasted space. This does not apply, however, to the database log files used by Tivoli Workload Scheduler, which are set up for circular reuse of disk space, so they don't grow in size over a maximum value.

See the DB2 documentation.
Oracle database Oracle logs its activities. See the Oracle documentation. See the Oracle documentation.
Start of changeThe WebSphere Application ServerEnd of change Start of changeThe application server writes log files. End of change Start of change
<WAS_profile_path>/logs
where the default value of WAS_profile_path is <TWA_home>/WAS/TWSprofile
On the Dynamic Workload Console:
JazzSM_profile_dir/logs
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
End of change
Start of changeManualEnd of change
Start of changeNetcool® SSM monitoring agent (not supported on IBM i systems)End of change The agent writes log files.
<TWA_home>/ssm/Log/
     ssmagent.log
     traps.log
Manual
Other Other activities also write trace and log files. <TWA_home>/TWS/methods Manual

The easiest method of controlling the growth of these directories is to decide how long the log files are needed, then schedule a Tivoli Workload Scheduler job to remove any files older than the given number of days. Use the rmstdlist command for the process and job log files, and use a manual date check and deletion routine for the others. Make sure that no processes are using these files when you perform these activities.

See the Tivoli Workload Scheduler: User's Guide and Reference for full details of the rmstdlist command.
Note: The rmstdlist command might give different results on different platforms for the same scenario. This is because on UNIX platforms the command uses the –mtime option of the find command, which is interpreted differently on different UNIX platforms.