Viewing Job Log and Error Messages
View the log and error messages associated with a job in OS Management Hub. You can use these messages to troubleshoot issues with jobs.
Navigate
View log messages
- On the job details page, under Resources, select Log message.
- On the right side of the message entry, select the down arrow to expand the message.
View error messages
- On the job details page, under Resources, select Error messages.
- On the right side of the message entry, select the down arrow to expand the message.
Use the oci os-management-hub scheduled-job get command and required parameters to get information for a specific scheduled job.
oci os-management-hub scheduled-job get --scheduled-job-id ocid [OPTIONS]
Use the oci os-management-hub work-request get command and required parameters to get information for a specific job that has been completed.
oci os-management-hub work-request get --work-request-id ocid [OPTIONS]
Use the oci os-management-hub work-request list-logs command and required parameters to view logs for a specific job.
oci os-management-hub work-request list-logs --work-request-id ocid [OPTIONS]
Use the oci os-management-hub work-request list-errors command and required parameters to view errors for a specific job.
oci os-management-hub work-request list-errors --work-request-id ocid [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the GetScheduledJob operation to get information about a specific scheduled job.
Run the GetWorkRequest operation to get information about a specific job that has completed.
Run the ListWorkRequestsErrors operation to list the errors for a specific job.
Run the ListWorkRequestsErrors operation to list the logs for a specific job.