File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -2892,13 +2892,6 @@ public Document doInCollection(MongoCollection<Document> collection) throws Mong
2892
2892
FindIterable <Document > iterable = cursorPreparer .initiateFind (collection ,
2893
2893
col -> collectionPreparer .prepare (col ).find (query , Document .class ));
2894
2894
2895
- if (LOGGER .isDebugEnabled ()) {
2896
-
2897
- LOGGER .debug (String .format ("findOne using query: %s fields: %s in db.collection: %s" ,
2898
- serializeToJsonSafely (query ), serializeToJsonSafely (fields .orElseGet (Document ::new )),
2899
- collection .getNamespace () != null ? collection .getNamespace ().getFullName () : "n/a" ));
2900
- }
2901
-
2902
2895
if (fields .isPresent ()) {
2903
2896
iterable = iterable .projection (fields .get ());
2904
2897
}
You can’t perform that action at this time.
0 commit comments