You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Robert Middleton (Jira)" <lo...@logging.apache.org> on 2021/12/11 15:15:00 UTC
[jira] [Updated] (LOGCXX-529) Support color and highlight conversion patterns
[ https://issues.apache.org/jira/browse/LOGCXX-529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Middleton updated LOGCXX-529:
------------------------------------
Fix Version/s: 0.13.0
(was: 0.11.0)
> 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
> Priority: Major
> Fix For: 0.13.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.A1.layout.ConversionPattern=%highlight\{%r [%t] %-5p}{FATAL=red, ERROR=red, WARN=yellow bold, INFO=gray, DEBUG=green bold, TRACE=blue} %c - %m%n
--
This message was sent by Atlassian Jira
(v8.20.1#820001)