Summary
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.
Acknowledgment
Summary
POWERTOOLS_LOGGER_LOG_EVENTis 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_EVENTto control the behaviour of the logger somehow.Which area does this relate to?
Other
Solution
The
POWERTOOLS_LOGGER_LOG_EVENTshould be implemented.Acknowledgment