You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Andrew Murdoch (JIRA)" <ji...@apache.org> on 2013/06/12 14:48:19 UTC

[jira] [Created] (WW-4103) When an action is not found an error which cannot be silenced is logged when not in dev mode

Andrew Murdoch created WW-4103:
----------------------------------

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


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 the same Exception as an error 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