Examining Log Files on an Instance

Use log files to identify what's occurring on an instance to help troubleshoot issues.

Important

Linux Logs

Instance Type Log File Location

OCI

The last 3 logs for the plugin are logged in /var/log/oracle-cloud-agent/plugins/oci-wlms/wlms_plugin.log

All errors and exceptions are logged in /var/log/oracle-cloud-agent/plugins/oci-wlms/wlms_plugin_errors.log

Examining the wlms_plugin_errors.log file

Examining the wlms_plugin_errors.log file can be useful to filter for errors or exceptions.

Linux

Run the following with root permissions.

To check for errors or failures:

grep -i -e error -e fail /var/log/oracle-cloud-agent/plugins/oci-wlms/wlms_plugin_errors.log

To check for exceptions:

grep -i -e exception -e fail /var/log/oracle-cloud-agent/plugins/oci-wlms/wlms_plugin_errors.log