LoggingConfig - AWS Lambda Web
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

LoggingConfig

The logging configuration for a web function revision.

Contents

applicationLogLevel

The log level for application logs emitted by the web function. If you don't specify a value, the default is INFO, and this default is returned in the response.

Type: String

Valid Values: TRACE | DEBUG | INFO | WARN | ERROR | FATAL

Required: No

logGroup

The name of the Amazon CloudWatch Logs log group the web function sends logs to. If you don't specify a value, the default is /aws/lambda/web/{functionName}, and this default is returned in the response.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 500.

Pattern: [a-zA-Z0-9\.\-_/#]+

Required: No

systemLogLevel

The log level for system logs emitted by the Lambda runtime. If you don't specify a value, the default is INFO, and this default is returned in the response.

Type: String

Valid Values: DEBUG | INFO | WARN

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: