You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Daniel Lynes (Jira)" <lo...@logging.apache.org> on 2021/08/15 13:45:00 UTC

[jira] [Created] (LOGCXX-529) Support color and highlight conversion patterns

Daniel Lynes created LOGCXX-529:
-----------------------------------

             Summary: Support color and highlight conversion patterns
                 Key: LOGCXX-529
                 URL: https://issues.apache.org/jira/browse/LOGCXX-529
             Project: Log4cxx
          Issue Type: New Feature
          Components: Layout
    Affects Versions: 0.11.0
         Environment: Ubuntu 20.04.2 LTS in a VM in VirtualBox
            Reporter: Daniel Lynes
             Fix For: 0.11.0


Cannot use the standard log4j conversion patterns for colors.  It would be very useful to highlight log entries for errors and warnings especially.

An example of something that doesn't work:

 
 
{{log4j.appender.STDOUT.layout.ConversionPattern=%highlight\{%d %-5p [%t] (%F:%L) - %m%n}{FATAL=red, ERROR=red, WARN=yellow bold, INFO=black, DEBUG=green bold, TRACE=blue}}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)