X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;ds=sidebyside;f=doc%2Flog.xml;h=9d18763fcb9b8cfbbc0a70859e325d9379bcc047;hb=cad85a512ba53d408d7bede0a752474d8d648dc8;hp=86e6b0d161a1bbec293a0adcec53baf294ef9ac0;hpb=7d3e19217e35aa9674166cf632662d1b21e43910;p=metaproxy-moved-to-github.git
diff --git a/doc/log.xml b/doc/log.xml
index 86e6b0d..9d18763 100644
--- a/doc/log.xml
+++ b/doc/log.xml
@@ -1,4 +1,4 @@
-
@@ -15,15 +15,15 @@
3mp
Metaproxy Module
-
+
log
Metaproxy Package Logging Module
-
+
DESCRIPTION
- This filter logs packages sent - and received .
+ This filter logs packages sent - and received .
@@ -36,10 +36,24 @@
+ time-format
+
+
+ Date+time format if log is written to a custom file (see filename configuration, below), using the format of
+
+ strftime(3).
+
+
+ Use option -m in invocation of Metaproxy command to set format if yaz_log is used (no filename given).
+
+
+
filename
- Specifies a name of log file.
+ Specifies a name of log file. If this is omitted, logging is performed
+ using the log system of YAZ (yaz_log).
@@ -47,7 +61,7 @@
Specifies the category of messages to be logged. The category is an
- XML attribute and value of attribute is a boolean;
+ XML attribute and value of attribute is a boolean;
true for enabled; false
for disabled.
The following category attributes are supported:
@@ -121,7 +135,7 @@
-
+
@@ -187,30 +201,30 @@
protocol (position 6)
Protocol type which is one of Z3950 or
- HTTP_Request or
+ HTTP_Request or
HTTP_Response.
-
+
For packages of with protocol marker Z3950
the the access log line is followed by the APDU type + information
depending on the type. The APDU type is on position 7.
-
+
-
+
initRequest
- Z39.50 Initialize Request with the information
+ Z39.50 Initialize Request with the information
username, vhost,
implementation ID, implementation name, implementation version.
-
+
initResponse
Z39.50 Initialize Response with the information:
@@ -219,21 +233,21 @@
-
+
searchRequest
Z39.50 Search Request with the information:
database(s), result set ID, record syntax, query.
- Multiple databases are separated by
+ Multiple databases are separated by
a plus-sign (+). The query itself is
multiple tokens. For this reason it is placed as the last
information on this log entry.
-
+
searchResponse
Z39.50 Search Response with the information:
@@ -242,7 +256,7 @@
-
+
presentRequest
Z39.50 Present Request with the information:
@@ -251,7 +265,7 @@
-
+
presentResponse
Z39.50 Present Response with the information:
@@ -260,7 +274,7 @@
-
+
scanRequest
Z39.50 Scan Request with the information:
@@ -272,7 +286,7 @@
-
+
scanResponse
Z39.50 Scan Response with the information:
@@ -281,19 +295,19 @@
-
+
-
+
SCHEMA
-
+
EXAMPLES
A typical configuration looks like this:
@@ -306,8 +320,8 @@
]]>
-
-
+
+
SEE ALSO
@@ -316,21 +330,13 @@
-
+
©right;