Loggers let you control the log messages for CA EEM SDK. To enable a logger, remove the comment strings from their respective code.
A logger contains the following parameters:
Specifies the name of a logger.
Specifies if the log messages are duplicated in the SDK log file.
Value: [true|false]
Default: false
Specifies log level of a logger.
Value: [Trace|Debug|Info|Warn|Error|Fatal|Off]
The following are the log levels, in the order of their precedence:
Note: Higher the log level, lesser is the performance of CA EEM.
Indicates low level debugging. It contains control flow and passes arguments.
Indicates messages used for problem diagnosis. It contains contextual information.
Indicates contextual information that traces execution at a coarse-grained level in a production environment.
Indicates a potential problem in the system. For example, if the message category corresponds to security, a warning message must display if a dictionary attack is detected.
Indicates a serious problem in the system. The problem is non-recoverable and requires manual intervention.
Indicates a very sever error that may lead the application to abort.
Indicates the absence of logging.
Note: The log level of the default SDK appender must be Error.
Example: Performance Logger
<logger name="Perform" additivity="false">
<level value="trace"/> <appender-ref ref="Performance" />
</logger>
| Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |