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

Need a clean way to rotate server logs when mongod is started with --logpath

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.1.2
    • None
    • Usability
    • None

    Description

      The only way to rotate mongod's server log (i.e. when it's started with --logpath) seems to be to move the existing log and restart the server. There should be some functionality to make mongod close and re-open it's log. Perhaps follow suit with MySQL (and other stuff) and have it respond to SIGHUP with that behavior?

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            mage2k Erik Jones
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: