Return-Path: Delivered-To: apmail-logging-log4j-dev-archive@www.apache.org Received: (qmail 83933 invoked from network); 12 Dec 2008 16:10:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Dec 2008 16:10:59 -0000 Received: (qmail 7790 invoked by uid 500); 12 Dec 2008 16:11:12 -0000 Delivered-To: apmail-logging-log4j-dev-archive@logging.apache.org Received: (qmail 7591 invoked by uid 500); 12 Dec 2008 16:11:12 -0000 Mailing-List: contact log4j-dev-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@logging.apache.org Received: (qmail 7582 invoked by uid 99); 12 Dec 2008 16:11:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2008 08:11:11 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2008 16:10:58 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 7A03D234C3B2; Fri, 12 Dec 2008 08:10:38 -0800 (PST) From: bugzilla@apache.org To: log4j-dev@logging.apache.org Subject: DO NOT REPLY [Bug 46388] New: Layout ignoresThrowable Documentation mismatch implementation X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Log4j X-Bugzilla-Component: Appender X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: felipecrp@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: log4j-dev@logging.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Fri, 12 Dec 2008 08:10:38 -0800 (PST) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=46388 Summary: Layout ignoresThrowable Documentation mismatch implementation Product: Log4j Version: 1.2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Appender AssignedTo: log4j-dev@logging.apache.org ReportedBy: felipecrp@gmail.com According to the documentation [1] the method ignoresThrowable() from org.apache.log4j.Layout class should force the appender to not print the stacktrace if the method return code is true. But in org.apache.log4j.net.SyslogAppender the behavior is just the oposite. It may happen with other appenders. The problem appear to be in the line 332: if (layout.ignoresThrowable()) { Best regards, Felipe Pinto -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-dev-help@logging.apache.org