Missing logs on mongoTemplate class #4755
Labels
status: ideal-for-contribution
An issue that a contributor can help us with
type: enhancement
A general enhancement
Hi,
This is a feedback on the
org.springframework.data.mongodb.core.MongoTemplate
cass logging.During some troubleshooting i noticed that in the mongoTemplate class, the
doStream
method is missing the debug logging of the query executed, thedoFind
with debug active Instead print the query to be executed.i also noticed on
doFind
that the log debug output is missing the sorting parameter (very useful for query optimization) but in other likedoFindAndModify
there is, maybe the logging is a little inconsistent across the various type of possibile actions.Is a log check/alignment planned?
Thanks,
Riccardo
The text was updated successfully, but these errors were encountered: