Switch off headers for Chainsaw when using log4jNamespace = true
----------------------------------------------------------------

                 Key: LOG4PHP-87
                 URL: https://issues.apache.org/jira/browse/LOG4PHP-87
             Project: Log4php
          Issue Type: Bug
          Components: Code
    Affects Versions: 2.0
            Reporter: Carsten
             Fix For: 2.0


when trying to export Logging Events to Chainsaw through
LoggerAppenderSocket Chainsaw has got problems with
the header and footer created in LoggerLayoutXml.php Line 106
(getHeader()) and 162 (getFooter()) .

I then inserted a return at the top of both methods in case that
log4jNamespace has been set to true in properties file:
if ($this->getLog4jNamespace()) {
    return;
}

This solves this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to