Split logging
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): com.ibm.taddm.log.split.sensors=true
If this property is not set to true
, the
default logging for all sensors is put in the $COLLATION_HOME/log/services/DiscoveryManager.log file.
- On the TADDM server
- The following directory:
- $COLLATION_HOME/log/sensors/runid/sensorName-IP.log
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.
- $COLLATION_HOME/log/sensors/runid/sensorName-IP.log
- On the anchor server
- One of the following directories:
- ANCHOR_DIR/log/sensors/runid/sensorName-IP.log
- ANCHOR_DIR\log\sensors\runid\sensorName-IP.log
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
true
in
the collation.properties file, if it is not already
set (the default value is true): com.ibm.taddm.log.split.agents=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.
$COLLATION_HOME/log/agents/agentName.log
The agentName
(name of the log file) contains the topology agent name. The following
example is a log file on the TADDM server: $COLLATION_HOME/log/agents/AppDescriptorAgent.log
Business application handler (grouping patterns) log files
true
in the collation.properties file, if it is not already set (the default value is true): com.ibm.taddm.log.split.bizapp=true
dist/log/bizapps/<pattern>/<starttime>.log
where:- <pattern> is the identifier of the grouping
pattern (name-GUID), for example
J2EE App pattern-F12AC23451AB3A4FAF58E9187ABF1169
. - <starttime> is the start time of
BizAppsAgent
run, for example1416408057548
.
If the 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.
Generic properties
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.
com.ibm.taddm.log.split.retention.group=
7
sensors
for sensor log files, agents
for
topology agent log files and bizapp
for the business
application handler log files.