You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "James Holmes (JIRA)" <ji...@apache.org> on 2008/12/08 16:39:36 UTC

[jira] Updated: (WW-2874) Dispatcher logs an error / severe from serviceAction() before it returns a 404 "Could not find action or result"

     [ https://issues.apache.org/struts/browse/WW-2874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Holmes updated WW-2874:
-----------------------------

    Fix Version/s: 2.1.3
       Issue Type: Improvement  (was: Bug)

Any thoughts from anyone on this? I think it makes sense to make it a warning.

> Dispatcher logs an error / severe from serviceAction() before it returns a 404 "Could not find action or result"
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: WW-2874
>                 URL: https://issues.apache.org/struts/browse/WW-2874
>             Project: Struts 2
>          Issue Type: Improvement
>    Affects Versions: 2.1.2
>         Environment: Tomcat 6.0.18, Struts 2.1.2
>            Reporter: Lucas Nelson
>             Fix For: 2.1.3
>
>
> We are getting severe logs from org.apache.struts2.dispatcher.Dispatcher.serviceAction() (line 485) when broken spiders hit our site with all-lowercase URLs. Our actions are named with the usual camel-hump style naming, so the server is returning a 404 to the client. This is all good.
> But, just before it returns the 404, the Dispatcher logs at error level: "Could not find action or result".
> We are trying to get to the situation where we can have all severe / error logs trigger an alert to wake someone up in the middle of the night to go look at the system. Having client-initiated activity triggering logging at severe / error level does not seem right.
> Any chance this log at line 485 could be lowered to a warning, at least?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.