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

Log stacktraces to file

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: Logging
    • Labels:
      None
    • Fully Compatible
    • Security 2021-11-29, Security 2021-12-13, Security 2021-12-27, Security 2022-01-10

      Add an option to log the "BACKTRACE" message (here) to a file. The human-readable backtrace can be kept as-is in case the symbolized version is not available for any reason.

      We'd like to use this functionality to automatically symbolize all backtraces run in Evergreen as part of the linked project. The symbolizer would run after a test fails to find any stacktraces in the files generated by the servers.

      This can be a test-only functionality and does not have to be configurable. The location of the log files can be fixed (relative to the data dir) to simplify implementation.

      If this can be enabled with --setParameter enableTestCommands=true, a separate command line option would not be needed

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            robert.guo@mongodb.com Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: