From discussion with @jfuss, it'd best to create a separate environment variable to control powertools logging level as opposed to LOG_LEVEL.
While LOG_LEVEL simplifies DX it does raise concerns if you want to isolate logging level to your Lambda function only.
Convo: aws-powertools/powertools-lambda#15 (comment)
Changes
From discussion with @jfuss, it'd best to create a separate environment variable to control powertools logging level as opposed to
LOG_LEVEL.While
LOG_LEVELsimplifies DX it does raise concerns if you want to isolate logging level to your Lambda function only.Convo: aws-powertools/powertools-lambda#15 (comment)
Changes
POWERTOOLS_LOG_LEVELenvironment variablePOWERTOOLS_LOG_LEVELaws-lambda-powertools