How to enable logging of DynamoDB queries in the Spring Boot application?

Viewed 652

I developed a Spring Boot (2.3.3) application which stores its data in DynamoDB.

I used the following packages to CRUD my data:

  • aws-java-sdk-dynamodb (1.11.891)
  • spring-data-dynamodb (5.1.0)

All works well, but I want to enable logging of requests my app makes to DynamoDB to be able to optimize it (use proper index, etc.).

I tried to configure log4j using this AWS SDK docs. But I still don't see any AWS SDK related lines in my app console output.

Please, help!

1 Answers
Related