Service Logs
You can enable service logs for some resources. Service logs provide diagnostic information about the resources in your tenancy. When you enable logging on resources, you receive information about the resource in a log file. This information allows you to analyze, optimize, and troubleshoot your resources.
Working with Service Logs
Not all resources support Logging. See Supported Services for the list of services with resources that produce logs.
To enable logs on a resource, you must have permission to update the resource and permission to create the log in the log group. See Required Permissions for Working with Logs and Log Groups, and Enabling Logging for a Resource.
For more information about Logging, see Logging Overview.
Using the API
For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.
To enable logging for a resource using the API, use the appropriate resource's
create
or update
operation.