logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-450) Flag Disable Encoding for HTMLLayout
Date Tue, 12 Nov 2013 12:58:17 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13820066#comment-13820066
] 

Gary Gregory commented on LOG4J2-450:
-------------------------------------

Sudharma,

Can you provide a detailed example of your use case please?

Feel free to provide a patch.

Thank you,
Gary

> Flag Disable Encoding for HTMLLayout
> ------------------------------------
>
>                 Key: LOG4J2-450
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-450
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Layouts
>         Environment: Windows 7 OS, Java 7.
>            Reporter: Sudharma Puranik
>            Priority: Minor
>              Labels: layout
>
> For HTMLLayout, I would like to add some customized html tags to render my logs, but
since Log4j2 is encoding the events  and writing it, while rendering the encoded values of
the tags is causing the rendering uneven. Would it possible to provide a flag to enable or
disable the html encoding  and it would be upto the user discretion to use it. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message