You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by Horváth, "Ákos Péter (JIRA)" <ji...@apache.org> on 2013/01/04 00:10:12 UTC

[jira] [Commented] (WW-3953) ParametersInterceptor fills log with unneeded warnings

    [ https://issues.apache.org/jira/browse/WW-3953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543396#comment-13543396 ] 

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

Thank you very much!
                
> 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
>            Assignee: Lukasz Lenart
>            Priority: Minor
>             Fix For: 2.3.9
>
>
> 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