-
Notifications
You must be signed in to change notification settings - Fork 161
Closed
Labels
confirmedThe scope is clear, ready for implementationThe scope is clear, ready for implementationfeature-requestThis item refers to a feature request for an existing or new utilityThis item refers to a feature request for an existing or new utilityloggerThis item relates to the Logger UtilityThis item relates to the Logger Utility
Description
Use case
We were transitioning some lambdas from logging with Pino to Powertools and encountered a conflict when setting the LOG_LEVEL
constant.
When setting the LOG_LEVEL
constant to 'WARN', Pino would throw an error as it would expect warn
.
Solution/User Experience
I'm proposing POWERTOOLS_LOG_LEVEL
is added. It aligns w/ the other environment naming conventions yet allows for specific targeting for AWS Powertools without any side effects.
The current LOG_LEVEL
would remain, but POWERTOOLS_LOG_LEVEL
would take precedence if present.
Alternative solutions
No response
Acknowledgment
- This feature request meets Lambda Powertools Tenets
- Should this be considered in other Lambda Powertools languages? i.e. Python, Java, and .NET
Future readers
Please react with 👍 and your use case to help us understand customer demand.
Metadata
Metadata
Assignees
Labels
confirmedThe scope is clear, ready for implementationThe scope is clear, ready for implementationfeature-requestThis item refers to a feature request for an existing or new utilityThis item refers to a feature request for an existing or new utilityloggerThis item relates to the Logger UtilityThis item relates to the Logger Utility
Type
Projects
Status
Shipped