Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-415

Reduce log level of bean validation errors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.3, 1.2.0-M1
    • 1.1.4, 1.2.0-M1
    • core
    • None

    Description

      Bean validation errors should not be logged with log level ERROR, as they can be part of normal system behaviour (e.g. a user registers herself or is registered by an admin and accidentally or unknowingly enters invalid data and then gets an error message on the UI). See the discussion on the dev mailing list [1].

      [1] http://syncope-dev.1063484.n5.nabble.com/EntityValidationInterceptor-log-level-of-bean-validation-errors-td5714156.html

      Attachments

        1. syncopeBeanValidationLogLevel_1_1_X.patch
          0.8 kB
          Guido Wimmel
        2. syncopeBeanValidationLogLevel_trunk.patch
          0.9 kB
          Guido Wimmel

        Activity

          People

            ilgrosso Francesco Chicchiriccò
            gwimmel Guido Wimmel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: