You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by "Ivan Habunek (Resolved) (JIRA)" <ji...@apache.org> on 2011/12/10 12:25:40 UTC

[jira] [Resolved] (LOG4PHP-165) Extended LoggerLayoutXml to include MDC info

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

Ivan Habunek resolved LOG4PHP-165.
----------------------------------

    Resolution: Fixed

Fixed in trunk. I took the opportunity to clean up the LoggerLayoutXML code a little bit while we're at it. Also added LoggerMDC::clear() method which was missing and updated the tests for both LoggerMDC and LoggerLayoutXML.
                
> Extended LoggerLayoutXml to include MDC info
> --------------------------------------------
>
>                 Key: LOG4PHP-165
>                 URL: https://issues.apache.org/jira/browse/LOG4PHP-165
>             Project: Log4php
>          Issue Type: Improvement
>          Components: Code
>    Affects Versions: 2.1
>            Reporter: Johannes Wohlgemuth
>            Assignee: Ivan Habunek
>            Priority: Minor
>              Labels: patch
>             Fix For: 2.2
>
>         Attachments: Log4php-mdc.patch
>
>
> Even though the Log4j XML-Format is able to include MDC-info, Log4php does not output MDC-info when the LoggerLayoutXml is used. This patch extends LoggerLayoutXMl so the MDC-info gets included.

--
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