You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feat: Add support for POWERTOOLS_LOGGER_LOG_EVENT to the logging module #1444
POWERTOOLS_LOGGER_LOG_EVENT is a flag that exists in the examples, but is not supported by the library. The other libraries support it (e.g., python) so we should too. When we get a Lambda event, if this environment variable is set, we log the event itself. This can be done programatically at the moment.
Why is this needed?
This could confuse engineers that would expect the POWERTOOLS_LOGGER_LOG_EVENT to control the behaviour of the logger somehow.
Which area does this relate to?
Other
Solution
The POWERTOOLS_LOGGER_LOG_EVENT should be implemented.
changed the title [-]Maintenance: Remove POWERTOOLS_LOGGER_LOG_EVENT from the examples[/-][+]Feat: Add support for POWERTOOLS_LOGGER_LOG_EVENT to the logging module[/+]on Oct 9, 2023
Activity
scottgerring commentedon Sep 28, 2023
Nice catch! Really doesn't seem to be referenced anywhere apart from example deployment code.
[-]Maintenance: Remove POWERTOOLS_LOGGER_LOG_EVENT from the examples[/-][+]Feat: Add support for POWERTOOLS_LOGGER_LOG_EVENT to the logging module[/+]jeromevdl commentedon Nov 14, 2023
fixed, will be released after tomorrow
github-actions commentedon Nov 16, 2023
This is now released under 1.18.0 version!