Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
Description
Description
Description:
The log format to the syslog is changed as described by this ticket. In case it's documented what go in the syslog it should update and include the log component.
Engineering Ticket Description:
Starting from v3.0, mongodb logs an event with component name to log file using MessageEventDetailsEncoder, in contrast with syslog which using MessageEventWithContextEncoder.
I think we can use component name to filter some less useful log entries. It would be better if mongodb could log component name to syslog too.
Scope of changes
- compat (although may pop into rel notes as well)
- mongod-options
- log message (more to clarify that most of content is for console/log file – this change should backport)
- rotate log file syslog section
Impact to Other Docs
none – mention of syslog just point to the manual
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
Attachments
Issue Links
- documents
-
SERVER-20603 Add component information to syslog logging
-
- Closed
-