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
Would it be possible to have an option to make the logging lighter on the lambda-powertools-logger?
Currently, every single call to Log.method logs out awsRegion, functionName etc. We would like to be able to log this data only on the first log of a function (usually the event data) and then turn it off for the rest. This would make it much easier to parse our logs.
If this is something the team is open to, I'd be happy to make the PR.
The text was updated successfully, but these errors were encountered:
It would also be helpful if we were able to log strings, e.g. screenshot below (truncated)
When we view our logs in our logging service, instead of being able to see the string text directly, we now have to expand each object only to find a simple string that is decorated with a tonne of extra data, making it harder to find the exact log
Would be great to have an option to just log strings too.
This is a Feature Proposal
Description
Would it be possible to have an option to make the logging lighter on the
lambda-powertools-logger
?Currently, every single call to
Log.method
logs outawsRegion
,functionName
etc. We would like to be able to log this data only on the first log of a function (usually the event data) and then turn it off for the rest. This would make it much easier to parse our logs.If this is something the team is open to, I'd be happy to make the PR.
The text was updated successfully, but these errors were encountered: