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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • 1.1.2
    • Affects Version/s: None
    • Component/s: Usability
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 Horowitz (Inactive)
              Reporter:
              Erik Jones
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: