Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-53551

Map log levels sent to Sentry

    XMLWordPrintable

    Details

    • Sprint:
      Evergreen - Milestone 2
    • Similar Issues:

      Description

      We have errors in Sentry about the log levels we send

      This is because only the following levels are allowed/understood in Sentry (https://docs.sentry.io/clients/node/usage/#raven-node-additional-data):

      Sentry is aware of the following levels:

      • debug (the least serious)
      • info
      • warning
      • error
      • fatal (the most serious)

      Expected behavior

      We should send levels that Sentry understands, and map the levels we currently send as-is extracted from Java.

      As we only send >= WARNING anyway, we mainly (only?) have to map severe to fatal.

        Attachments

          Activity

          Hide
          joschi Jochen Schalanda added a comment -
          Show
          joschi Jochen Schalanda added a comment - I gave this one a try in  https://github.com/jenkins-infra/evergreen/pull/328 .
          Hide
          batmat Baptiste Mathus added a comment -

          This has been merged and deployed. Closing. Thanks again Jochen Schalanda

          Show
          batmat Baptiste Mathus added a comment - This has been merged and deployed. Closing. Thanks again Jochen Schalanda

            People

            • Assignee:
              joschi Jochen Schalanda
              Reporter:
              batmat Baptiste Mathus
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: