[SERVER-46361] Log UUIDs in structured logging as {"$uuid": "string"}, not as bindata Created: 24/Feb/20  Updated: 29/Oct/23  Resolved: 27/Feb/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.3.4

Type: Improvement Priority: Major - P3
Reporter: Andy Schwerin Assignee: Henrik Edin
Resolution: Fixed Votes: 4
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Backwards Compatibility: Fully Compatible
Participants:

 Description   

UUIDs represented as bindata subtype 4 should be represented as

{"$uuid": "b265d3e4-3627-4138-8b5c-2230e6729b2b"}

 

 



 Comments   
Comment by Githook User [ 25/Feb/20 ]

Author:

{'username': 'henrikedin', 'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com'}

Message: SERVER-46361 Format UUID as $uuid:<string> in logv2
Branch: master
https://github.com/mongodb/mongo/commit/a223322ef7df075739cbe44a488d82c830df19d9

Generated at Thu Feb 08 05:11:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.