Log MongoDB queries with Spring Boot
<p>Is it possible to log all MongoDB queries in my Spring Boot app? I tried this:</p>

<pre><code>logging.level.org.springframework.data.document.mongodb=INFO
log4j.category.org.springframework.data.document.mongodb=INFO
</code></pre>

<p>But it didn't work.</p>