Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-529

Support color and highlight conversion patterns

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.11.0
    • 0.13.0
    • Layout
    • None
    • Ubuntu 20.04.2 LTS in a VM in VirtualBox
    • Important

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dlynes Daniel Lynes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: