You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2013/11/12 13:58:17 UTC
[jira] [Commented] (LOG4J2-450) Flag Disable Encoding for
HTMLLayout
[ 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