|
In related ticket SERVER-48353, we cleaned up the automatically-generated attribute names for logv2 to be more readable. However, many logging statements still provide both a "format-string" and "message-string". In the master branch, only the "message-string" is ever used for structured JSON logs. The "format-string" was necessary during the transition from text logs to JSON logs, but is now vestigial. The "format-strings" reduce readability of the code, since they are largely redundant with the "message-string". We should delete the "format-string" argument from logging statements in the following directories:
- db/query
- s/query
- db/views
- db/matcher
- db/exec
|