X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=doc%2Flog.xml;h=80708cdee1fe2873edff4d1d64f7a6a182e5489a;hb=3f5b658748a32db22137659bc51b1ac2dcfcf1d6;hp=83266d63a67e876d3e63c26a7091c419a569011d;hpb=6ce31309381822f3fe2a5364be1cd73a7472d62f;p=metaproxy-moved-to-github.git
diff --git a/doc/log.xml b/doc/log.xml
index 83266d6..80708cd 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:
@@ -120,8 +134,17 @@
+ line
+
+
+ Simple one-line log message indicating the most important
+ things from a request and response.
+ Available from version 1.3.38 and later.
+
+
+
-
+
@@ -187,30 +210,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 +242,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 +265,7 @@
-
+
presentRequest
Z39.50 Present Request with the information:
@@ -251,7 +274,7 @@
-
+
presentResponse
Z39.50 Present Response with the information:
@@ -260,7 +283,7 @@
-
+
scanRequest
Z39.50 Scan Request with the information:
@@ -272,7 +295,7 @@
-
+
scanResponse
Z39.50 Scan Response with the information:
@@ -281,19 +304,19 @@
-
+
-
+
SCHEMA
-
+
EXAMPLES
A typical configuration looks like this:
@@ -306,8 +329,8 @@
]]>
-
-
+
+
SEE ALSO
@@ -316,7 +339,7 @@
-
+
©right;