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

Map log levels sent to Sentry

    XMLWordPrintable

    Details

    • Similar Issues:
    • Sprint:
      Evergreen - Milestone 2

      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
          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
          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 .

            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: