This is an archive related to a previous version of Esri Maps for IBM Cognos. If you need the current version go to http://doc.arcgis.com/en/maps-for-cognos/.

Change the logging levels

Changing the logging level can help troubleshoot installation and configuration issues. The following log levels are available for EM4C Server and EM4C Dispatcher:

  • DEBUG
  • INFO
  • WARN
  • ERROR
  • FATAL

EM4C Server

The default level of logging is ERROR, which is suitable in most situations.

To change the log settings for EM4C Server, the following must be completed on each EM4C Server computer.

These steps must be performed by an administrator.

  1. Browse to em4c_location\webapps\em4c\WEB-INF\classes.
  2. Open the log4j.properties file in a text editor.
  3. Change the following lines (as appropriate):
    log4j.logger.com.esri.em4c.cognos.custom.customRequestHandler=ERROR, stdout 
    log4j.logger.com.esri.em4c=ERROR, stdout, A1
    
  4. Restart EM4C Server.

EM4C Dispatcher

EM4C Dispatcher logging must be manually configured.

By default, EM4C Dispatcher logs its entries in the IBM Cognos cogserver.log file. Enabling additional logging for EM4C Dispatcher should only be performed when troubleshooting with Esri Support.