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

Add option to redirect stderr and stdout to a file

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • SP Prioritized List
    • None
    • 3
    • 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@mongodb.com Billy Donahue
            Reporter:
            gabriel.marks@mongodb.com Gabriel Marks
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: