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 04:13:20 UTC

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

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

Gary Gregory resolved LOG4J2-1471.
----------------------------------
    Resolution: Fixed

In Git master.

> [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