title: How can I log actual queries to MongoDB with mongo java driver
body: <p>I want to see what queries mongo java driver produce, but I'm not able to do that.</p>
  
  <p>Using information from the <a href="http://mongodb.github.io/mongo-java-driver/3.0/driver/reference/management/logging/" rel="noreferrer">official documentation</a> I'm able just see in the log that update operation executes, but I don't see the query of this operation.</p>