Configuring trace properties when the agent is stopped [JobManager.Logging.cclog]
How to configure the trace properties when the agent is stopped.
To configure the trace properties when the agent is stopped, edit
the [JobManager.Logging] section in the JobManager.ini
file
and then restart the HCL Workload Automation agent.
The section containing the trace properties is named:
[JobManager.Logging.cclog]
You can change the following properties:
- JobManager.trhd.fileName
- The name of the trace file. the default path is as follows:
- On Windows operating systems
- TWA_home/TWS/stdlist/JM/JobManager_trace.log
- On UNIX operating systems
- $(TWA_DATA_DIR)/stdlist/JM/JobManager_trace.log
- JobManager.trhd.maxFileBytes
- The maximum size that the trace file can reach. The default is 10240000 bytes.
- JobManager.trhd.maxFiles
- The maximum number of trace files that can be stored. The default is 5.
- JobManager.trfl.level
- Determines the type of trace messages that are logged. Change this value to trace more or fewer
events, as appropriate, or on request from HCL Software Support. Valid values are:
- DEBUG_MAX
- Maximum tracing. Every trace message in the code is written to the trace logs.
- INFO
- All informational, warning, error and critical trace messages are written to the trace. The default value.
- WARNING
- All warning, error and critical trace messages are written to the trace.
- ERROR
- All error and critical trace messages are written to the trace.
- CRITICAL
- Only messages which cause the agent to stop are written to the trace.
The output trace (JobManager_trace.log) is provided in XML format.
After installing
the z-centric agent or dynamic agent on Windows 2012, the JobManager_trace.log
might not be created. In this case, perform the following procedure:
- Stop the agent.
- Create a backup copy of JobManager.ini, and edit the original file by
changing the row:
toJobManager.trhd.className = ccg_multiproc_filehandler
JobManager.trhd.className = ccg_filehandler
- Restart the agent.