Enable Mongodb log in Elixir application

Try this driver GitHub - zookzook/elixir-mongodb-driver: MongoDB driver for Elixir · GitHub

It logs like Ecto the messages sent to the MongoDB and has support for telemetry data as well.