Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1622

Decrease log level of "lack charset" warning message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 3.0.22.Final, 3.1.2.Final
    • 3.1.1.Final, 3.0.21.Final
    • None
    • None

      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

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

              Created:
              Updated:
              Resolved: