[Bug 12] New: Joran passing wrong Expression to EventEvaluator

http://bugzilla.qos.ch/show_bug.cgi?id=12 Summary: Joran passing wrong Expression to EventEvaluator Product: logback-core Version: unspecified Platform: PC OS/Version: All Status: NEW Severity: normal Priority: P1 Component: Joran AssignedTo: logback-dev@qos.ch ReportedBy: noreply.sebastien@qos.ch I've been trying to use two conditions in an expression, like this: <evaluator name="DISPLAY_CALLER_EVAL"> <!-- >Expression>(logger.name.contains("chapter5"))</Expression--> <Expression>message.contains("stacktrace") && message.contains("logging")</Expression> </evaluator> This precise configuration leads to a JaninoEventEvaluator using the following expression: message.contains("logging") If I replace the && part with either && or &&, it still doesn't work. The same expression is recieved by the EventEvaluator. I've added a test case in EvaluatorJoranTest called testMultipleConditionsInExpression() that proves that an Evaluator can work if given an expression containing multiple conditions. In my understanding, it seems that the process that is reading the xml file and passing it to the Evaluator does not work properly. -- 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=12 noreply.ceki@qos.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #1 from noreply.ceki@qos.ch 2006-10-13 17:22 ------- It may be a bug in Joran. -- 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=12 noreply.ceki@qos.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #2 from noreply.ceki@qos.ch 2006-10-15 19:53 ------- This is now fixed in SVN trunk. -- 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=12 ------- Comment #3 from noreply.ceki@qos.ch 2006-10-15 19:54 ------- Sebastien, Please verify and if correct, mark it as verified. Thanks in advance, -- 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=12 noreply.sebastien@qos.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED ------- Comment #4 from noreply.sebastien@qos.ch 2006-10-16 09:43 ------- Everything works as expected. -- 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=12 noreply.ceki@qos.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Status|VERIFIED |CLOSED ------- Comment #5 from noreply.ceki@qos.ch 2006-10-16 10:03 ------- OK, thanks. Closing this report. -- 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