When using the Gateway docker image using the 'View Logs' option in policy manager will generate an error similar to the below:
"Uncaught exception in thread 'pool-X-thread-1' [Id:XXX]"
Where the ID and POOL may differ in your environment.
Component: API Gateway
There may be cases where viewing the logs in policy manager is necessary, such as when the container is hosted on a system with limited access and using the platform to capture logs is not feasible.
You can follow the below steps to avoid having the error dialog appear and view logs from the Policy manager.
1) Edit the YAML file used to start the container
Under the "environment:" section add the following. If this already exists, simply append it to the existing line
separating each item with a space.
stop and restart the container.
2) Login to policy manager and navigate to TASKS -> LOGS AND AUDITING -> MANAGE LOG/AUDIT SINKS
3) Click the create button
4) Name the log sink and set the type to FILE. Adjust the severity threshold and file settings according to your needs