Skip to content

Render MongoTemplate ObjectId logs in shell format#5188

Closed
codingkiddo wants to merge 1 commit intospring-projects:mainfrom
codingkiddo:gh-4873-shell-objectid-logging
Closed

Render MongoTemplate ObjectId logs in shell format#5188
codingkiddo wants to merge 1 commit intospring-projects:mainfrom
codingkiddo:gh-4873-shell-objectid-logging

Conversation

@codingkiddo
Copy link
Copy Markdown

Closes #4873

This change updates MongoTemplate debug query logging to render BSON ObjectId values using Mongo shell-style JSON formatting.

Before:

{ "_id" : { "$oid" : "507f1f77bcf86cd799439011" } }

Signed-off-by: Vinod Kumar <vinodkumar@192.168.1.5>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 26, 2026
@mp911de mp911de added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 27, 2026
@mp911de
Copy link
Copy Markdown
Member

mp911de commented Apr 27, 2026

Logging is a larger theme discussed in #4873 and #1861 requiring a wider consideration of how to allow configuration to help with debugging and running queries from log outputs. Closing as duplicate.

@mp911de mp911de closed this Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: duplicate A duplicate of another issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Queries in MongoTemplate Logs with ObjectId Format.

3 participants