Add option to redirect stderr and stdout to a file

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Programmability 2025-09-01
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, when running mongod with --fork, stderr and stdout are redirected to /dev/null. This means we lose debug info written to stderr (from `doSafeLog` in the logging system, `OpenSSLDie` in OpenSSL, and probably more). This option would apply to forked processes, so we would no longer lose stderr.

            Assignee:
            Billy Donahue
            Reporter:
            Gabriel Marks
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: