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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.1.2
    • Affects Version/s: None
    • Component/s: Usability
    • None

      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?

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

              Created:
              Updated:
              Resolved: