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

Add a warning saying that logging with syslog can result in log messages with incorrect timestamps

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      It has been observed in the field that a syslog daemon is often not able to keep with the rate of logging messages produced by mongod or mongos. I'm going to quote Bruce Lucas here:

      The log messages can have an incorrect timestamp because syslog generates the timestamp when it logs the message, not when mongod issues the message, and that can result in log timestamps that are way off - a minute or more in this case. That renders the log file not just useless but seriously misleading as to the timing of events when mongod is under stress.

      We should encourage users to use file as the log destination and add a warning about syslog.

      Attachments

        Activity

          People

            brian.moss@mongodb.com Brian Moss
            dmitry.ryabtsev@mongodb.com Dmitry Ryabtsev
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 50 weeks, 5 days ago