- <filter type="cond"> <!-- conditional -->
- <invoke sequence="public"> <!-- invoke public sequence for some db -->
- port=210 and db="public"
- </invoke>
- </filter>
+ </filters>
+
+ <routes>
+ <route id="start">
+ <filter refid="gftr"/>
+ <filter type="cond"> <!-- conditional -->
+ <if test="port=210 and db=public" route="A"/>
+ <if test="port=210 and db=other" route="B"/>
+ <switch>
+ <case test="blabla" route="C"/>
+ <case test="blabla2" route="C2"/>
+ <default route="C3"/>
+ </switch>
+ </filter>
+ <filter type="log"> <!-- apply logging always -->
+ <logfile>mylog.log</logfile>
+ </filter>