struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Nenning <>
Subject Re: Disabling Struts warning messages in the console
Date Thu, 18 Feb 2016 08:04:59 GMT
> Hi,
> I'd like to disable the warning messages in the console log 
> (catalina.out) like
> WARNING: Could not find action or result: /
> There is no Action mapped for namespace [/] and action name
> These visits are generated by the bots and they are trying to reach 
> a previous action that does not exist anymore.
> How can I do this?
> Thanks
> Murat

That log message is generated by class


(at least for struts 2.5, in older versions it may be different)

You can configure your logging library to show only errors for that class, 
e.g. for log4j:

<Logger name="org.apache.struts2.dispatcher.Dispatcher" level="error">

You may want to have a look here:


This Email was scanned by Sophos Anti Virus

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message