-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Querying
-
Fully Compatible
-
Query 2020-08-24
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
- is related to
-
SERVER-48353 logv2 cleanup for db/query, s/query, db/views, db/matcher
- Closed