Enable PE REST log for IBM ECM Widgets 4.5.2

Technote (troubleshooting)

Problem(Abstract)

Symptom

Resolving the problem

Some ECM Widgets, such as the In-basket and Work Data widgets, communicate with Process Engine. To determine problems related to Process Engine, you must enable the PE REST log.

The PE REST log configuration file is located in WAS_JRE_HOME directory. For example: C:\Program Files\IBM\WebSphere\AppServer\java\jre\lib\fnlog4j.properties

Below is the sample content of the fnlog4j.properties file:

#----------------------------------------------------------------------------------- # Updated 3/18/08 # Check TXT.File for system-specific path # When enabling a logger, make sure that it has an appender, but you do not want too many # appender of the same type (via inheritance.) You may have duplicate messages when # both a logger and its parents have specified the same appender. # # When rootLogger is enabled, CE messages may be traced inadvertently and can be # quite verbose #-----------------------------------------------------------------------------------

# ---------------------- filenet.pe.* loggers -------------------- #log4j.logger.filenet.pe=ERROR, CON, TXT # Note that for the filenet.pe.rpc.resources.tracing to be enabled, the # filenet.pe.rpc.timer has to be enabled as well. # ----------------------------------------------------------------

There are mutilple sections in this file to control log level for Process Engine.
To determine the problems related to ECM Widgets, you only need change the level for REST. Change the log level in linelog4j.logger.filenet.pe.rest, and use the right log writer, for example:
log4j.logger.filenet.pe.rest=DEBUG, REST