Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-9316

Decrease log level of "lack charset" warning message

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 7.1.0.DR16
    • 7.1.0.DR13
    • REST
    • None
    • Regression

    Description

      Log level of "lack charset" warning message should be decreased from WARN to INFO.


      Warning message is printed also if this annotation is used:

      @Produces("application/xml")
      

      But this is correct example from jax-rs 2.1 specification.


      Example of this message:

      12:53:53,243 WARN  [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-1) RESTEASY002141: MediaType application/xml on getTasksByTitle() lacks charset. Consider setting charset or turning on context parameter resteasy.add.charset

      Attachments

        Issue Links

          Activity

            People

              rsigal@redhat.com Ronald Sigal
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: