For a Symfony2 project I'm using Riverline\DynamoDBBundle to connect my web app to DynamoDB, an highly elastic database in the cloud. It offers some great functions making mutations a lot easier than just using the raw PHP SDK offered by Amazon. Such a feature is the logger feature: it enables you to quickly find stats about queries. By default, Riverline\DynamoDBBundle offers a simple EchoLogger which simply prints its information in the browser. As Symfony is packaged with a great logger called Monolog, I created a simple class that exports Riverline's DynamoDBBundle log information to Monolog. As a result, log information is not printed in your browser directly but you can see its related items in the profiler of Symfony.
This gist is part of a tutorial which can be found here: http://www.nielsmouthaan.nl/riverlinedynamodbbundle-class-for-monologger