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

printStackTrace does not work when running as a Windows Service

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.2.0-rc2, 2.3.0
    • Affects Version/s: 2.2.0-rc1
    • Component/s: Diagnostics, Logging
    • None
    • Environment:
      mongod.exe or mongos.exe running as a Windows Service
    • Windows

      The printStackTrace() routine sends its output to cout. Because of SERVER-6777, this means that no output from printStackTrace() will appear in log files when mongod.exe or mongos.exe is running as a Windows Service. Changing the code to output to log() instead of cout in Windows, at least when running as a service, would fix this.

            Assignee:
            tad Tad Marshall
            Reporter:
            tad Tad Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: