<p>I will show you how to enable logging in the MongoDB Java driver and also how to set and change the log level. The <a href="https://mongodb.github.io/mongo-java-driver/">official mongoDB Java driver</a> uses <a href="https://docs.oracle.com/javase/7/docs/api/java/util/logging/package-summary.html">java.util.logging</a> as its default logging framework or sl4j if the latter is present. It can be very useful to enable logging in the MongoDB drivers to trace how the driver is interacting with…
The continued diary of an experienced C++ programmer. Thoughts on C++ and other languages I play with, Emacs, functional, non functional and sometimes non-functioning programming.