X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Flog.xml;h=80708cdee1fe2873edff4d1d64f7a6a182e5489a;hb=a45b852c58666f546487489c8458b0071e4f4ca3;hp=adf27abf37f143522a488eb61da912d4b8bc6817;hpb=390f1824be469868bb060cdacd2d48aa184441a9;p=metaproxy-moved-to-github.git diff --git a/doc/log.xml b/doc/log.xml index adf27ab..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,12 +304,19 @@ - + - + + + + SCHEMA + + - + EXAMPLES A typical configuration looks like this: @@ -299,8 +329,8 @@ ]]> - - + + SEE ALSO @@ -309,21 +339,13 @@ - + ©right;