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

Add a "fatal" log level to the server

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Logging
    • None

    Description

      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”;

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: