Horváth, Ákos Péter created WW-3953:
---------------------------------------

             Summary: ParametersInterceptor fills log with unneeded warnings
                 Key: WW-3953
                 URL: https://issues.apache.org/jira/browse/WW-3953
             Project: Struts 2
          Issue Type: Bug
          Components: Core Interceptors
    Affects Versions: 2.3.8
         Environment: all
            Reporter: Horváth, Ákos Péter
            Priority: Minor


ParametersInterceptor.java fills the log with unneeded warnings such this:

Parameter [username] is not on the excludeParams list of patterns and will be 
appended to action!

The cause of the problem is that normally (when a POSTed value matches 
acceptParamNames, but not excludeParams), the isExcluded() method will be 
called, which logs every match and not-match.

The logging happens with the notifyDeveloper() method of the class, which logs 
as WARNING in devmode, and DEBUG if not.

I suppose to lower this always to DEBUG, and maybe the notifyDeveloper() method 
should even be gone.

have a nice day,

PH

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to