struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Horváth, Ákos Péter (JIRA) <j...@apache.org>
Subject [jira] [Commented] (WW-3953) ParametersInterceptor fills log with unneeded warnings
Date Thu, 03 Jan 2013 23:10:12 GMT

    [ 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

Mime
View raw message