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 "Johannes Wohlgemuth (Created) (JIRA)" <ji...@apache.org> on 2011/12/05 12:53:39 UTC

[jira] [Created] (LOG4PHP-165) Extended XML-Layout to include MDC-info

Extended XML-Layout 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
            Priority: Minor
             Fix For: 2.1


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

        

[jira] [Commented] (LOG4PHP-165) Extended XML-Layout to include MDC-info

Posted by "Ivan Habunek (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LOG4PHP-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13165087#comment-13165087 ] 

Ivan Habunek commented on LOG4PHP-165:
--------------------------------------

Looks good, I'll probably include this in 2.2. Just have to fix tests.
                
> Extended XML-Layout 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
>            Priority: Minor
>              Labels: patch
>             Fix For: 2.1
>
>         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

        

[jira] [Updated] (LOG4PHP-165) Extended XML-Layout to include MDC-info

Posted by "Johannes Wohlgemuth (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LOG4PHP-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johannes Wohlgemuth updated LOG4PHP-165:
----------------------------------------

    Attachment: Log4php-mdc.patch

Patch extends LoggerLayoutXML to include MDC-info
                
> Extended XML-Layout 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
>            Priority: Minor
>              Labels: patch
>             Fix For: 2.1
>
>         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

        

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

Posted by "Ivan Habunek (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LOG4PHP-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Habunek updated LOG4PHP-165:
---------------------------------

    Fix Version/s:     (was: 2.1)
                   2.2
         Assignee: Ivan Habunek
          Summary: Extended LoggerLayoutXml to include MDC info  (was: Extended XML-Layout to include MDC-info)
    
> 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

        

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

Posted by "Ivan Habunek (Resolved) (JIRA)" <ji...@apache.org>.
     [ 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