Return-Path: X-Original-To: apmail-logging-log4net-dev-archive@www.apache.org Delivered-To: apmail-logging-log4net-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 38861C002 for ; Tue, 29 May 2012 17:53:27 +0000 (UTC) Received: (qmail 77871 invoked by uid 500); 29 May 2012 17:53:25 -0000 Delivered-To: apmail-logging-log4net-dev-archive@logging.apache.org Received: (qmail 77397 invoked by uid 500); 29 May 2012 17:53:24 -0000 Mailing-List: contact log4net-dev-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4NET Dev" List-Id: Delivered-To: mailing list log4net-dev@logging.apache.org Received: (qmail 76902 invoked by uid 99); 29 May 2012 17:53:24 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 May 2012 17:53:24 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id E0CDB142837 for ; Tue, 29 May 2012 17:53:23 +0000 (UTC) Date: Tue, 29 May 2012 17:53:23 +0000 (UTC) From: "Joachim Zobel (JIRA)" To: log4net-dev@logging.apache.org Message-ID: <582194300.12032.1338314003922.JavaMail.jiratomcat@issues-vm> In-Reply-To: <2077340208.8702.1337706881175.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (LOG4NET-342) Add a way to prevent silent failure 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/LOG4NET-342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284964#comment-13284964 ] Joachim Zobel commented on LOG4NET-342: --------------------------------------- I did try internal debugging as you describe it without any results. It was however an exceptionally hard case. I had missed to put Global.asax into the deploy package, which did the Configure() and lots of logging (DEBUG: Starting page ...). The Configure return value is actually very helpful in the common case of a confguration failure. There is however also the use case that application failure is considered peferrable to running without logging. Not sure if log4net wants to cover this. Thanks, Joachim > Add a way to prevent silent failure > ----------------------------------- > > Key: LOG4NET-342 > URL: https://issues.apache.org/jira/browse/LOG4NET-342 > Project: Log4net > Issue Type: New Feature > Reporter: Joachim Zobel > Priority: Minor > Fix For: 1.2.12 > > > I spent most of the day trying to find out why logging is not working on my dev system but not on test. There should be a way to force error reporting by throwing (possibly unhandled) exceptions. This could be done by adding a required flag to the appenders and another flag that requires a least one working appender. > I am not sure about a good way to implement this, I would just love it if my favourite tool to end silent failure could stop failing silently. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira