To create a separate log file for each sensor, topology agent or business application handler (grouping pattern), which improves the readability of the sensor, topology agent or business application handler logs, you can use split logging. However, split logging can affect TADDM performance.
Sensor log files
true in the collation.properties file, if it is not already set (the
default value is true):
If this property is not set to
default logging for all sensors is put in the $COLLATION_HOME/log/services/DiscoveryManager.log file.
- On the TADDM server
- The following directory:
The runid includes the date and time of the discovery. The sensorName-IP (the log file name) includes the sensor name and the IP address of the target system. The following example is a log file on the TADDM server: $COLLATION_HOME/log/sensors/20070621131259/SessionSensor-10.199.21.104.log.
- On the anchor server
- One of the following directories:
To set the split log files cleanup properties for TADDM server, see Generic properties.
Because anchor servers run for only short periods of time, if the split log files are accumulating on anchor servers, they must be deleted manually.
Topology agent log files
the collation.properties file, if it is not already
set (the default value is true):
If this property
is not set to
true, the default logging for all topology
agents is put in the $COLLATION_HOME/log/services/TopologyBuilder.log file.
(name of the log file) contains the topology agent name. The following
example is a log file on the TADDM server:
Business application handler (grouping patterns) log files
true in the collation.properties file, if it is not already set (the default value is true):
- <pattern> is the identifier of the grouping
pattern (name-GUID), for example
J2EE App pattern-F12AC23451AB3A4FAF58E9187ABF1169.
- <starttime> is the start time of
BizAppsAgentrun, for example
com.ibm.taddm.log.split.bizapp property is set to
false, all log files are placed
in one file, the log/services/PatternsSchedulingService.log file.
com.ibm.taddm.log.split.retention=7- the log retention before cleanup specified in days. The default value is 7.
com.ibm.taddm.log.split.clean.hour=3- the cleanup hour specified in the hour of the day. The default value is 3.
com.ibm.taddm.log.split.clean.interval=24- the interval between cleanups specified in hours. The default value is 24.
sensors for sensor log files,
topology agent log files and
bizapp for the business
application handler log files.