Extend log filter, so that message can be set
[metaproxy-moved-to-github.git] / etc / config1.xml
1 <?xml version="1.0"?>
2 <!-- $Id: config1.xml,v 1.8 2006-01-11 08:53:52 adam Exp $ -->
3 <yp2 xmlns="http://indexdata.dk/yp2/config/1">
4   <start route="start"/>
5   <filters>
6     <filter id="frontend" type="frontend_net">
7       <threads>10</threads>
8       <port>@:9000</port>
9     </filter>
10     <filter id="backend" type="z3950_client">
11      <timeout>30</timeout>
12     </filter>
13   </filters>
14   <routes>  
15     <route id="start">
16       <filter refid="frontend"/>
17       <filter type="log">
18         <message>F</message>
19       </filter>
20       <filter type="virt_db">
21         <virtual>
22           <database>loc</database>
23           <target>z3950.loc.gov:7090/voyager</target>
24         </virtual>
25         <virtual>
26           <database>idgils</database>
27           <target>indexdata.dk/gils</target>
28         </virtual>
29         <virtual>
30           <database>Default</database>
31           <target>localhost:9999</target>
32         </virtual>
33       </filter>
34       <filter type="log">
35         <message>B</message>
36       </filter>
37       <filter refid="backend"/>
38     </route>
39    </routes>
40 </yp2>
41