[logback-dev] [Bug 83] Parser stops at ')'

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Thu Mar 13 17:44:22 CET 2008


http://bugzilla.qos.ch/show_bug.cgi?id=83


noreply.ceki at qos.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Comment #1 from noreply.ceki at qos.ch  2008-03-13 17:44 -------

Hello Jens,

In logback, parentheses have special meaning. You need to escape them (actually
only the closing parentheses needs to be escaped by you can escape the opening
parentheses as well.

So your pattern should be written as:
<Pattern>snip \(%file:%line\) snip</Pattern>

The documentation should mention this peculiarity and difference wrt log4j.


-- 
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.



More information about the logback-dev mailing list