Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-17383

ExceptionHandlerExceptionResolver started to log on WARN level

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 5.1.1
    • Fix Version/s: 4.3.21, 5.0.11, 5.1.2
    • Component/s: Web
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      This commit changed behavior of ExceptionResolver to log exceptions on WARN.

      The trouble is, that we have alerts on Exceptions in logs and by default log on INFO and above so we started to get alerts for resolved exceptions.

      As a workaround, we can change log level ExceptionHandlerExceptionResolver to ERROR, but we would have to change it every microservice we upgrade to newest Spring.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rstoya05-aop Rossen Stoyanchev
              Reporter:
              dart0 Lukas Krecan
              Last updater:
              Spring Issuemaster
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 37 weeks, 2 days ago