Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.2
-
None
-
None
-
Tomcat 6.0.18, Struts 2.1.2
Description
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?
Attachments
Issue Links
- is related to
-
WW-4103 When an action is not found an error which cannot be silenced is logged when not in dev mode
- Closed