Logging properties file (logging.properties)

When Integration Composer runs a mapping, it provides information about mapping executions, data transactions, and errors in the fusion.log file.

The fusion.log file is stored in the following location:

InstallDir\data\properties.

You can also view information about Naming and Reconciliation Service-related events in the fusion.log file. The fusion.log file provides information about actions taken when duplicate deployed assets are found. In addition, total Naming and Reconciliation Service counts are logged at the end of the mapping. There is also a Naming and Reconciliation Service-specific log file that provides information about the Naming and Reconciliation Service process.

To configure Integration Composer logs, you use the logging.properties file. The logging.properties file is located as follows:

InstallDir\data\properties.

Integration Composer logging is based on Log4j logging, which is an open source project developed by Apache Software Foundation as part of the Apache Jakarta Project.

The following table lists the error levels Integration Composer supports.

Error Description
FATAL The FATAL level logs severe error messages that indicate application failure.
ERROR The ERROR level logs error messages that indicate errors in the application functionality that is processed.
WARN The WARN level logs warning messages that indicate harmful situations in the functionality that is processed.
INFO The INFO level logs informational messages that highlight the progress of the functionality processed.
DEBUG The DEBUG level logs extensive messages that are useful to debug.

Log4j root loggers

To set up root loggers, specify the comma-separated list of appenders to the root loggers. For example, to log messages to standard output and also to a file called fusion.log, use the following setting:

log4j.rootLogger=ERROR,A1,A2.

A1 is set to be a ConsoleAppender, which outputs to System.out.

log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%d{dd MM yyyy HH:mm:ss:SSS} [%-2p]%m%n

A2 is set to be a RollingFileAppender, which outputs to the fusion.log file.

log4j.appender.A2=org.apache.log4j.RollingFileAppender
log4j.appender.A2.File=fusion.log
log4j.appender.A2.MaxFileSize=5MB
log4j.appender.A2.MaxBackupIndex=5
log4j.appender.A2.Append=false
log4j.appender.A2.layout=org.apache.log4j.PatternLayout
log4j.appender.layout.ConversionPattern=%d{dd MM yyyy HH:mm:ss:SSS} [%-2p]%m%n

The value for log4j.appender.A2.File is the name of the file only. Do not include a file path. Integration Composer ignores file paths and saves log files in installDir\log.

Loggers used by Integration Composer

Enable only the loggers that you need and use the logging information only for debugging purposes. Enabling more loggers than you need and setting the log level to DEBUG produces many messages in the appenders and significantly reduces performance of the application.

log4j.logger.fusion=INFO
log4j.logger.fusion.datamanager=ERROR
log4j.logger.fusion.diff=ERROR
log4j.logger.fusion.engine=ERROR
log4j.logger.fusion.gui=ERROR
log4j.logger.fusion.om=ERROR
log4j.logger.fusion.nrs.process=INFO
log4j.logger.fusion.provider=ERROR
log4j.logger.fusion.provider.actualci=ERROR
log4j.logger.fusion.provider.altiris=ERROR
log4j.logger.fusion.provider.caamo=ERROR
log4j.logger.fusion.provider.cmdbapi=ERROR
log4j.logger.fusion.provider.discovery=ERROR
log4j.logger.fusion.provider.dblayout=ERROR
log4j.logger.fusion.provider.deployedassets=ERROR
log4j.logger.fusion.provider.maximoasset60=ERROR
log4j.logger.fusion.provider.ee=ERROR
log4j.logger.fusion.provider.fusion=ERROR
log4j.logger.fusion.provider.landesk=ERROR
log4j.logger.fusion.provider.netcensus=ERROR
log4j.logger.fusion.provider.sms=ERROR
log4j.logger.fusion.provider.sms.sms20=ERROR
log4j.logger.fusion.provider.smstangram=ERROR
log4j.logger.fusion.provider.taddmcitype=ERROR
log4j.logger.fusion.provider.taddmdiscovery=ERROR
log4j.logger.fusion.provider.taddmactualci=ERROR
log4j.logger.maximo.sql=ERRORlog4j.logger.idml=INFO
log4j.logger.idml.detail=ERROR
log4j.logger.fusion.provider.temsuaapi=ERROR

Asset manager XML file

The asset manager XML file defines properties used by the IBM® Tivoli® Monitoring 5.1 provider.



Feedback