Describe -l
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 24 Oct 2003 12:20:06 +0000 (12:20 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 24 Oct 2003 12:20:06 +0000 (12:20 +0000)
configure.in
doc/proxy.xml
doc/yaz-proxy-ref.xml

index bd9d37e..05517ad 100644 (file)
@@ -1,5 +1,5 @@
 AC_INIT(configure.in)
-AM_INIT_AUTOMAKE("yaz++",0.7.1)
+AM_INIT_AUTOMAKE("yaz++",0.7.2)
 
 AC_PROG_CC
 AC_PROG_CPP
index dfac254..ebb1e9c 100644 (file)
         <entry><literal>client-apdu</literal></entry>
         <entry>
          Log APDUs as reported by YAZ for the
-         communication between the client and the proxy
+         communication between the client and the proxy.
+         This facility is equivalent to the APDU logging that
+         happens when using option <literal>-a</literal>, however
+         this tells the proxy to log in the same file as given
+         by <literal>-l</literal>.
         </entry>
        </row>
        <row>
index 044ff33..1e1dc89 100644 (file)
@@ -10,6 +10,7 @@
  <cmdsynopsis>
   <command>yaz-proxy</command>
   <arg choice="opt">-a <replaceable>filename</replaceable></arg>
+  <arg choice="opt">-l <replaceable>filename</replaceable></arg>
   <arg choice="opt">-m <replaceable>num</replaceable></arg>
   <arg choice="opt">-v <replaceable>level</replaceable></arg>
   <arg choice="opt">-t <replaceable>target</replaceable></arg>
      standard output.
     </para></listitem>
   </varlistentry>
+  <varlistentry><term>-l <replaceable>filename</replaceable></term>
+   <listitem><para>
+     Specifies the name of a file to which to write a log of the
+     YAZ proxy activity. This uses the logging facility as provided
+     by the YAZ toolkit. If this options is omitted, the output
+     directed to stderr.
+    </para></listitem>
+  </varlistentry>
   <varlistentry><term>-m <replaceable>num</replaceable></term>
    <listitem><para>
      Specifies the maximum number of connections to be cached
@@ -63,7 +72,7 @@
   </varlistentry>
   <varlistentry><term>-v <replaceable>level</replaceable></term>
    <listitem><para>
-     Sets the logging level.  <replaceable>level</replaceable> is
+     Sets the logging level. <replaceable>level</replaceable> is
      a comma-separated list of members of the set
      {<literal>fatal</literal>,<literal>debug</literal>,<literal>warn</literal>,<literal>log</literal>,<literal>malloc</literal>,<literal>all</literal>,<literal>none</literal>}.
     </para></listitem>