Log files for the Content Platform Engine REST API
The Content Platform Engine REST
API application uses log4j. The logging level is set in a log4j.properties file
provided by Content Platform Engine.
To configure logging for the Content Platform Engine REST API:
- Copy the /install_path/IBM/FileNet/ContentEngine/tools/PE/samples/fnlog4j.properties.sample file from the Content Platform Engine server.
- Place the file in the jre/lib directory of the application server that is installed on the workflow server, and rename the file to fnlog4j.properties.
- Edit the fnlog4j.properties file to specify your preferred logging level.
For details, see the IBM Content Cortex
documentation about enabling trace logging for process clients.
When the updated fnlog4j.properties file is placed in the correct jre/lib directory, logging is automatically enabled. You do not need to restart the application server or the workflow server.
If IBM® Business Automation
Workflow is installed
to use WebSphere® Application
Server, the
following table shows the default path for the jre/lib directory.
| Operating system | Default file path |
|---|---|
| AIX® | /usr/IBM/WebSphere/AppServer/java/jre/lib/fnlog4j.properties |
| Linux® | /opt/IBM/WebSphere/AppServer/java/jre/lib/fnlog4j.properties |
| Linux for System z® | /opt/IBM/WebSphere/AppServer/java/jre/lib/fnlog4j.properties |
| Windows | drive:\Program Files (x86)\IBM\WebSphere\AppServer\java\jre\lib\fnlog4j.properties |
This topic is shared by BAW, CP4BA. Last updated on 2025-03-13 12:15