-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Logging
-
None
Right now mongod calls functions like fassert() when it finds a fatal condition. This yields a brief message in the log followed by at least one stack trace, which often makes users think they've run into a mongod bug.
It would be nice to be able to produce more informative error messages whenever mongod finds a fatal error. Ideally, one would be able to call things like this in the code:
fatal() << “some message”; fassert(12345, condition) << “some message”; fassertNoTrace(12345, condition) << “some message”;
- duplicates
-
SERVER-13608 Allow streaming log messages into fasserts
- Closed
- related to
-
SERVER-15044 Coverity analysis defect 25617: PW.BOOLEAN_CONTROLLING_EXPR_IS_CONSTANT
- Closed