[logback-dev] [Bug 52] Unable to use <onMatch> in logback.xml

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Thu Mar 8 16:33:05 CET 2007


------- Comment #2 from noreply.sebastien at qos.ch  2007-03-08 16:33 -------
On going work on this bug. Dev-notes follow.

I've committed a test case that checks two things:

1. Does the PropertySetter work with FilterReply enums?
2. Does it work with any enum?

So far, I've modified AbstractMatcherFilter and the PropertySetter in a way
that we only need the usual setter, that takes a FitlerReply object and the
AbstractMatcherFilter will be set correctly. So case 1 works, and filters
should be working fine.

For case 2, it might be more complicated, since we don't know in advance what
kind of enum we are dealing with. Should we give a YAGNI-type answer to this
second case?

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