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

Configurable output colors for log messages

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • None
    • None

    Description

      With the %Y formatter, we can colorize the log output messages depending on their level.

       

      This should be expanded to have a parameter on the PatternLayout that you can use to apply the colors.  For example, error is currently "\x1B[91m" for red, but this should be user-configurable so that it can be a different color if required.

      This also means that things such as bold text can be configured by the user.

      Attachments

        Issue Links

          Activity

            People

              rmiddleton Robert Middleton
              rmiddleton Robert Middleton
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: