-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
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.
- is related to
-
SERVER-6777 Eliminate all direct use of cout/stdout and cerr/stderr
- Closed
- related to
-
SERVER-8159 Write backtrace error to "log()" for backtrace_symbols
- Closed