-
Type: Task
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Serverless
The codebase is logging a DatabaseName with different attribute names such as `db` which is the correct one, `dbName` or `database`. Potentially more.
As part of SERVER-74485 we worked on standardizing this by using `logAttrs` as much as possible.
We should investigate places that are using a different attribute name (i.e. not using `db` as an attribute of DatabaseName in logging) and see if they can be changed from whatever attribute they are using, with `db` (by using `logAttrs()`).
As a reminder, downstream systems might be looking at log message / error / warning messages. Replacing a log line might in fact cause some issues which is why we need to investigate what can be changed.
- related to
-
SERVER-74485 Always include tenant in db name attributes in log lines
- Closed