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 (JIRA)" <ji...@apache.org> on 2010/05/03 12:23:57 UTC

[jira] Updated: (LOG4PHP-108) Add HTML line break to LoggerAppenderEcho output

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

Ivan Habunek updated LOG4PHP-108:
---------------------------------

    Attachment: LoggerAppenderEcho-v2.patch
                LoggerAppenderEcho-v2.tests.patch
                LoggerAppenderEcho-v2.docs.patch

As agreed on the mailing list, the following changes are included in the second patch for LoggerAppenderEcho:
* the setting is renamed from htmlLineBreak to htmlLineBreaks
* If htmlLineBreak  is set to true, a <br /> element will be inserted before each line break in the logged message.
* the default value is set to false to keep existing behaviour

The updated tests and documentation patches are also included.

Please note that one test still fails: LoggerRendererMapTest::testUsage(). This is caused by another issue (LoggerAppenderPool is not cleared by Logger::resetConfiguration()) which has not yet been reported on JIRA, but will be soon.

> Add HTML line break to LoggerAppenderEcho output
> ------------------------------------------------
>
>                 Key: LOG4PHP-108
>                 URL: https://issues.apache.org/jira/browse/LOG4PHP-108
>             Project: Log4php
>          Issue Type: Improvement
>          Components: Code
>            Reporter: Florian Platzer
>            Assignee: Christian Grobmeier
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: LoggerAppenderEcho-v2.docs.patch, LoggerAppenderEcho-v2.patch, LoggerAppenderEcho-v2.tests.patch, LoggerAppenderEcho.patch
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> When using LoggerAppenderEcho the output will be printed in one line (in HTML).
> So automatically add a line break or add a new property for user's control

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