Skip to content

/AWS1/CL_LMWLOGGINGCONFIG

The logging configuration for a web function revision.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_loggroup TYPE /AWS1/LMWSTRING /AWS1/LMWSTRING

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.

iv_applicationloglevel TYPE /AWS1/LMWAPPLICATIONLOGLEVEL /AWS1/LMWAPPLICATIONLOGLEVEL

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.

iv_systemloglevel TYPE /AWS1/LMWSYSTEMLOGLEVEL /AWS1/LMWSYSTEMLOGLEVEL

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.


Queryable Attributes

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.

Accessible with the following methods

Method Description
GET_LOGGROUP() Getter for LOGGROUP, with configurable default
ASK_LOGGROUP() Getter for LOGGROUP w/ exceptions if field has no value
HAS_LOGGROUP() Determine if LOGGROUP has a value

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.

Accessible with the following methods

Method Description
GET_APPLICATIONLOGLEVEL() Getter for APPLICATIONLOGLEVEL, with configurable default
ASK_APPLICATIONLOGLEVEL() Getter for APPLICATIONLOGLEVEL w/ exceptions if field has no
HAS_APPLICATIONLOGLEVEL() Determine if APPLICATIONLOGLEVEL has a value

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.

Accessible with the following methods

Method Description
GET_SYSTEMLOGLEVEL() Getter for SYSTEMLOGLEVEL, with configurable default
ASK_SYSTEMLOGLEVEL() Getter for SYSTEMLOGLEVEL w/ exceptions if field has no valu
HAS_SYSTEMLOGLEVEL() Determine if SYSTEMLOGLEVEL has a value