Show / Hide Table of Contents

Class ExecutionLogPolicy

Configures the logging policies for the execution logs of an API Deployment.

Inheritance
object
ExecutionLogPolicy
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ApigatewayService.Models
Assembly: OCI.DotNetSDK.Apigateway.dll
Syntax
public class ExecutionLogPolicy

Properties

IsEnabled

Declaration
[JsonProperty(PropertyName = "isEnabled")]
public bool? IsEnabled { get; set; }
Property Value
Type Description
bool?

Enables pushing of execution logs to the legacy OCI Object Storage log archival bucket.
Oracle recommends using the OCI Logging service to enable, retrieve, and query execution logs for an API Deployment. If there is an active log object for the API Deployment and its category is set to 'execution' in OCI Logging service, the logs will not be uploaded to the legacy OCI Object Storage log archival bucket.
Please note that the functionality to push to the legacy OCI Object Storage log archival bucket has been deprecated and will be removed in the future.

LogLevel

Declaration
[JsonProperty(PropertyName = "logLevel")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ExecutionLogPolicy.LogLevelEnum? LogLevel { get; set; }
Property Value
Type Description
ExecutionLogPolicy.LogLevelEnum?

Specifies the log level used to control logging output of execution logs. Enabling logging at a given level also enables logging at all higher levels.

In this article
Back to top