[logback-user] Problem with turbofilter for appender

Ihsiak ihsiak at tlen.pl
Tue Jul 28 12:38:36 CEST 2009


Hello everybody
 I am trying to configure additional appender that would log only 
messages marked with specified Marker. Unfortunately when I put 
<turboFilter> block inside appender definition (in logback.xml file) I 
keep getting following errors:

12:27:48,312 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter at 5:66 - 
no applicable action for [turboFilter], current pattern is 
[[configuration][appender][turboFilter]]
12:27:48,312 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter at 6:11 - 
no applicable action for [marker], current pattern is 
[[configuration][appender][turboFilter][marker]]
12:27:48,312 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter at 7:15 - 
no applicable action for [onMismatch], current pattern is 
[[configuration][appender][turboFilter][onMismatch]]
12:27:48,312 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter at 8:12 - 
no applicable action for [OnMatch], current pattern is 
[[configuration][appender][turboFilter][OnMatch]]

There's no such problem if I put <turboFilter> inside root 
<configuration> block (except that it doesn't do the job then).

are turbo filters available only at root level (should I use evaluator 
filter instead)?

related jars in the classpath:
- logback-classic-0.9.16.jar
- logback-core-0.9.16.jar
- slpf4j-api.1.5.8.jar

-- 
regards
Bartosz Tomasik


More information about the Logback-user mailing list