Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12146

Docs for SERVER-20603: Add component information to syslog logging

    XMLWordPrintableJSON

Details

    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

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 13 weeks, 6 days ago