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

Document log rotation strategies

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual
    • None

    Description

      It would be helpful to have documentation or tutorial for setting up log rotation.

      Suggested approaches:

      • use the logrotate daemon in conjuction with MongoDB's logRotate command
      • for MongoDB 2.2 or newer, you can use --syslog to redirect output to the syslog daemon (most modern syslogd's will support log rotation recipes, or you can use with logrotate)

      Attachments

        Activity

          People

            zack.brown@10gen.com Zack Brown
            stephen.steneker@mongodb.com Stennie Steneker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 24 weeks, 1 day ago