[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: |