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 F219010B9B for ; Fri, 6 Sep 2013 06:56:58 +0000 (UTC) Received: (qmail 94016 invoked by uid 500); 6 Sep 2013 06:56:58 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 93661 invoked by uid 500); 6 Sep 2013 06:56:57 -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 93347 invoked by uid 99); 6 Sep 2013 06:56:52 -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:52 +0000 Date: Fri, 6 Sep 2013 06:56:52 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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:comment-tabpanel&focusedCommentId=13759992#comment-13759992 ] ASF subversion and git services commented on WW-4103: ----------------------------------------------------- Commit 1520499 from [~lukaszlenart] in branch 'struts2/trunk' [ https://svn.apache.org/r1520499 ] WW-4103, WW-4191 Reduces noise in the logs when action/result is missing > 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 > 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