[Bug 29] New: Bad parsing of pattern containing ')'

http://bugzilla.qos.ch/show_bug.cgi?id=29 Summary: Bad parsing of pattern containing ')' Product: logback-classic Version: unspecified Platform: All OS/Version: All Status: NEW Severity: major Priority: P1 Component: Other AssignedTo: logback-dev@qos.ch ReportedBy: noreply.sebastien@qos.ch 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. -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.

http://bugzilla.qos.ch/show_bug.cgi?id=29 sebastien@qos.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Comment #1 from sebastien@qos.ch 2006-11-13 11:41 ------- Inserting brackets in a pattern is read like a keyword addition. Brackets should be escaped. Modifying the pattern to: <Pattern>%date %-5level [%thread] \\(%file:%line\\) %logger - %msg%n</Pattern> ... makes everything work fine. -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
participants (1)
-
bugzilla-daemon@pixie.qos.ch