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

Add a "fatal" log level to the server

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 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”;
      

            Assignee:
            matt.kangas Matt Kangas
            Reporter:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: