Develop > Event Processing Interface > Troubleshoot EPI and custom action scripts

Troubleshoot EPI and custom action scripts

This section contains information to help you troubleshoot EPI and custom action script execution.

Log Files

A good starting point for troubleshooting EPI and custom action script execution is to look at the following log file:

<OMi_HOME>/log/opr-scripting-host/opr-scripting-host.log

The log file can provide helpful information about script execution. For example, you can see:

  • When a script was loaded or shut down.
  • When a script execution reached its timeout.
  • Statistics about the execution of a script, for example, the time taken for script execution.

The following file contains log entries generated by the scripts themselves, for example runtime errors:

<OMi_HOME>/log/opr-scripting-host/scripts.log

Debugging

To perform a debug, do the following:

  1. Go to the following location:

    <OMi_HOME>/conf/core/Tools/log4j/opr-scripting-host/opr-scripting-host.properties

  2. In the opr-scripting-host.properties file, set the loglevel to the desired value.

    The debug loglevel (loglevel=DEBUG) is useful for finding problems.