[SERVER-46447] Update guidance on when to use format strings in logv2 log messages Created: 27/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: Task Priority: Major - P3
Reporter: Andy Schwerin Assignee: Andy Schwerin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

The README for logv2 should clarify that new log messages should prefer to only include a single message without substitution fields, while when updating an existing message, adding such a message alongside the existing substitution string is preferred.



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

Author:

{'name': 'Andy Schwerin', 'username': 'amschwerin', 'email': 'schwerin@mongodb.com'}

Message: SERVER-46447 Change guidance on when to use format strings in logv2 log messages
Branch: master
https://github.com/mongodb/mongo/commit/6bcbd9236f0eec1355ff3d9ce9ad07df8303bf7e

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