logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Parx Shearer <Parx.Shea...@medhost.com>
Subject RE: [jira] [Resolved] (LOG4NET-371) Log with formatting doesn't call custom renderers (IObjectRenderer)
Date Wed, 07 Aug 2013 20:43:35 GMT
"Fixed for good" - I love it! Wish I could say the same for my bug fixes :-)


-----Original Message-----
From: Dominik Psenner (JIRA) [mailto:jira@apache.org]
Sent: Wednesday, August 07, 2013 7:15 AM
To: log4net-dev@logging.apache.org
Subject: [jira] [Resolved] (LOG4NET-371) Log with formatting doesn't call custom renderers
(IObjectRenderer)


     [ https://issues.apache.org/jira/browse/LOG4NET-371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dominik Psenner resolved LOG4NET-371.
-------------------------------------

    Resolution: Fixed

Fixed for good

> 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
>             Fix For: 1.2.12
>
>
> 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
HealthTech welcomes your feedback on our service. If there are any areas we can improve, please
email our Quality Service Department at healthtechquality@healthtechholdings.com. If you receive
STAR service, please email healthtechstar@healthtechholdings.com and tell us about your experience.
We appreciate your business.
________________________________
CONFIDENTIALITY STATEMENT: The documents accompanying this transmission may contain confidential
health information that is legally privileged. This information is intended only for the use
of the individual or entity named above. The authorized recipient of this information is prohibited
from disclosing this information to any other party unless required to do so by law or regulation
and is required to destroy the information after its stated need has been fulfilled. If you
are not the intended recipient, you are hereby notified that any disclosure, copying, distribution,
or action taken in reliance on the contents of these documents is strictly prohibited. If
you have received this information in error, please notify the sender immediately and arrange
for the return or destruction of these documents.
Mime
View raw message