Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-7140

Print same information that prints on startup when the log is rotated

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.3
    • Affects Version/s: None
    • Component/s: Diagnostics, Logging
    • Fully Compatible

      When getting a full log for analysis, if the server's been running for a long time so you just get the logs from the last day or two, and the logs are rotated each night, you don't get the startup message with info like mongodb version and startup options. Would be helpful for debugging if that information printed at the top of every log file when the logRotate command is called.

            Assignee:
            kyle.erf Kyle Erf
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            15 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: