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

Bad parsing of pattern containing ')'

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • None
    • None
    • logback-classic
    • None
    • Operating System: All
      Platform: All

    • 29

    Description

      The following config does not work with classic's PatternLayout:

      <Pattern>%date %-5level [%thread] (%file:%line) %logger - %msg%n</Pattern>

      Everything after the ')' is not displayed. Replacing ( and ) with [ and ] makes everything go well.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            noreply.sebastien@qos.ch Sébastien Pennec
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: