Which solution will meet these requirements?
Add a custom log level parameter for the Lambda function. Set the parameter by using the Lambda console
Set the log level in a Lambda environment variable
Set the log level in the Amazon CloudWatch Logs console.
Add a custom log level parameter for the Lambda function. Set the parameter by using the AWS CLI.
Explanations:
Lambda does not support custom parameters through the console; configuration must be managed through environment variables or specific parameter solutions.
Setting the log level in an environment variable allows the developer to control it without changing code and is a best practice for Lambda configuration.
The CloudWatch Logs console is used for viewing and managing logs, not for setting application-specific log levels.
Although parameters can be set via the AWS CLI, AWS Lambda does not support direct custom parameters; environment variables are recommended instead.