Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1433

Add support for ANSI style modifiers like "dim/faint"

    XMLWordPrintable

Details

    Description

      Besides logback currently supports coloring like %cyan, %highlight it would be nice if other ANSI styles would be supported like "dim"/"faint".

      E.g. using %dim(..)

      Is there maybe a workaround available to use these ANSI styles already?

      I currently have this pattern:

      <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%-15.15thread] %highlight(%-5level) %cyan(%-40.40logger{39}) - %message%n</pattern>

      But I would like to dim the date being logged.

       

      Attachments

        Activity

          People

            logback-dev Logback dev list
            marceloverdijk Marcel Overdijk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: