Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4C0B310B9C for ; Fri, 6 Sep 2013 06:56:59 +0000 (UTC) Received: (qmail 94143 invoked by uid 500); 6 Sep 2013 06:56:58 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 93993 invoked by uid 500); 6 Sep 2013 06:56:58 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 93490 invoked by uid 99); 6 Sep 2013 06:56:55 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Sep 2013 06:56:55 +0000 Date: Fri, 6 Sep 2013 06:56:54 +0000 (UTC) From: "Lukasz Lenart (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (WW-4103) When an action is not found an error which cannot be silenced is logged when not in dev mode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-4103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart resolved WW-4103. ------------------------------- Resolution: Fixed Assignee: Lukasz Lenart Resolved with WW-4191 - please check for discussion > 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 > Assignee: Lukasz Lenart > 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