[DOCS-12146] Docs for SERVER-20603: Add component information to syslog logging Created: 15/Oct/18  Updated: 13/Nov/23  Resolved: 08/Nov/18

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.1.4, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-20603 Add component information to syslog l... Closed
Participants:
Days since reply: 5 years, 13 weeks, 6 days ago
Epic Link: DOCS: 4.2 Server/Tools

 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.)



 Comments   
Comment by Githook User [ 08/Nov/18 ]

Author:

{'name': 'kay', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-12146: 4.2 - syslog message text format includes component
Branch: master
https://github.com/mongodb/docs/commit/f53904caedd8e6102e0a0368ba919116d5ffbe5d

Generated at Thu Feb 08 08:04:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.