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 2016/07/23 02:48:20 UTC

[jira] [Commented] (LOG4J2-1471) [PatternLayout] Add an ANSI option to %xThrowable

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

Gary Gregory commented on LOG4J2-1471:
--------------------------------------

I am going to merge this into master tonight or tomorrow. All test pass in master and the branch.

> [PatternLayout] Add an ANSI option to %xThrowable
> -------------------------------------------------
>
>                 Key: LOG4J2-1471
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1471
>             Project: Log4j 2
>          Issue Type: New Feature
>          Components: Layouts
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>             Fix For: 2.7
>
>         Attachments: xThrowableJansi.png, xThrowableJansiSiteDocs.png
>
>
> See screenshot attachments.
> The idea is to print out exceptions to the console using colors to make some information more obvious and liven things up. The current style choices are arbitrary as are the style names {{Spock}} and {{Kirk}}.
> This is currently in branch {{StyledXException}}.
> A positive side effect of this code is that extended exceptions are rendered on a {{StringBuilder}} so less garbage is generated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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