struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4103) When an action is not found an error which cannot be silenced is logged when not in dev mode
Date Fri, 06 Sep 2013 06:56:52 GMT

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

ASF subversion and git services commented on WW-4103:
-----------------------------------------------------

Commit 1520499 from [~lukaszlenart] in branch 'struts2/trunk'
[ https://svn.apache.org/r1520499 ]

WW-4103, WW-4191 Reduces noise in the logs when action/result is missing
                
> When an action is not found an error which cannot be silenced is logged when not in dev
mode
> --------------------------------------------------------------------------------------------
>
>                 Key: WW-4103
>                 URL: https://issues.apache.org/jira/browse/WW-4103
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.3.14.3
>            Reporter: Andrew Murdoch
>            Priority: Minor
>             Fix For: 2.3.16
>
>
> WW-2874 describes a scenario in which crawlers hitting an all lowercase version of an
action name returns a 404 but also logs an error. The solution was to only log errors in devMode.
> However the same exception is passed to the sendError method which later logs it again
as an error but only when not in dev mode. This exception cannot be silenced without silencing
the whole of the Dispatcher class.
> In dev mode the Exception is logged as debug.

--
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