A servlet request contains form parameters in the request body
Problem
The following warning is repeatedly logged in the catalina.out log file whenever any of the gauge gadgets are rendered
com.sun.jersey.spi.container.servlet.WebComponent.filterFormParameters A servlet request, to the URI https://<jira-base-url>/rest/gauge-admin/1.0/checkvalid?_=1560749479186, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.
This excessive logging causes the logs to be bloated and difficult for diagnosis of real issues
Solution
This is due to a Jira issue JRASERVER-59898.
The workaround is to change the logging level for the com.sun.jersey.spi.container.servlet.WebComponent class
Add the following line to the <Jira installation directory>/conf/logging.properties
CODEcom.sun.jersey.spi.container.servlet.WebComponent.level = SEVERE
Restart Jira to reload with the new setting