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

printStackTrace does not work when running as a Windows Service

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.2.0-rc2, 2.3.0
    • 2.2.0-rc1
    • Diagnostics, Logging
    • None
    • mongod.exe or mongos.exe running as a Windows Service
    • Windows

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: