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 B78D310F8D for ; Wed, 7 Aug 2013 12:14:54 +0000 (UTC) Received: (qmail 95470 invoked by uid 500); 7 Aug 2013 12:14:51 -0000 Delivered-To: apmail-logging-log4net-dev-archive@logging.apache.org Received: (qmail 95408 invoked by uid 500); 7 Aug 2013 12:14:50 -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 95341 invoked by uid 99); 7 Aug 2013 12:14:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2013 12:14:49 +0000 Date: Wed, 7 Aug 2013 12:14:48 +0000 (UTC) From: "Dominik Psenner (JIRA)" To: log4net-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (LOG4NET-371) Log with formatting doesn't call custom renderers (IObjectRenderer) 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-371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dominik Psenner reopened LOG4NET-371: ------------------------------------- Reopening to mark it as fixed in 1.2.11 > Log with formatting doesn't call custom renderers (IObjectRenderer) > ------------------------------------------------------------------- > > Key: LOG4NET-371 > URL: https://issues.apache.org/jira/browse/LOG4NET-371 > Project: Log4net > Issue Type: Task > Components: Documentation > Affects Versions: 1.2.11 > Reporter: Carlin Scott > Assignee: Dominik Psenner > Priority: Trivial > Labels: renderer > > If I log an object using ILog.Info(myObject), myObjectRenderer is used. If I use ILog.InfoFormat("my object is: {0}", myObject) then the default renderer is used. > I spent hours trying to figure out why the default renderer was being used and then on a whim I used the non-formatted log method and everything worked correctly. At the very least I would like the documentation for this feature to specify that only the non-formatted logging methods make use of custom renderers. -- 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