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

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

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.3
    • Fix Version/s: None
    • Component/s: logback-core

      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

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

              Dates

              • Created:
                Updated: