Closed
Description
Using log event feature of @PowetrtoolsLogging.
Expected Behavior
When logging S3EventNotification, it should log payload.
Current Behavior
Does not logs payload but rather just Object Hash
Possible Solution
Use object mapper to parse the object instead of depending on toString implementation on POJO.
Steps to Reproduce (for bugs)
Handler like:
@PowertoolsLogging(logEvent = true)
public IndexFacesResponse handleRequest(S3EventNotification input, Context context) {
Logs message com.amazonaws.services.lambda.runtime.events.models.s3.S3EventNotification@
Environment
- Powertools version used: 0.3.1-beta
- Packaging format (Layers, Maven/Gradle): Both
- AWS Lambda function runtime: java8
- Debugging logs
# paste logs here