Allow client-ip to be logged for each log entry. Speciy
[yazproxy-moved-to-github.git] / etc / config.xml
index 80aa370..7b3cf3c 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<!-- $Id: config.xml,v 1.13 2005-06-21 18:46:04 adam Exp $ -->
+<!-- $Id: config.xml,v 1.18 2006-04-06 12:04:19 adam Exp $ -->
 <proxy xmlns="http://indexdata.dk/yazproxy/schema/0.9/"
  xmlns:xi="http://www.w3.org/2001/XInclude"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -10,6 +10,7 @@
     <url>localhost:9999</url>
     <target-timeout>30</target-timeout>
     <client-timeout>60</client-timeout>
+    <target-authentication type="open">a/b</target-authentication>
     <keepalive>
       <bandwidth>1000000</bandwidth>
       <pdu>1000</pdu>
@@ -18,6 +19,7 @@
       <bandwidth>2000000</bandwidth>
       <pdu>60</pdu>
       <retrieve>100</retrieve>
+      <search>3</search>
     </limit>
     <attribute type="1" value="1-11,13-1016"/>
     <attribute type="1" value="*" error="114"/>
@@ -25,6 +27,9 @@
     <syntax type="usmarc" backendcharset="iso-8859-1"/>
     <syntax type="none"/>
     <syntax type="sutrs" backendcharset="iso-8859-1"/>
+    <syntax type="xml">
+      <name>b</name>
+    </syntax>
     <syntax type="xml" marcxml="1" stylesheet="MARC21slim2SRWDC.xsl"
       identifier="info:srw/schema/1/dc-v1.1"
       >
@@ -42,6 +47,9 @@
     <client-timeout>30</client-timeout>
     <!-- everything else -->
   </target>
-  <max-clients>2</max-clients>
-  <log>client-requests server-requests</log>
+  <max-clients>30</max-clients>
+  <max-connect>10</max-connect>
+  <limit-connect>5</limit-connect>
+  <log>client-requests server-requests client-ip</log>
+  <docpath>doc</docpath>
 </proxy>