X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Flog.xml;h=80708cdee1fe2873edff4d1d64f7a6a182e5489a;hb=8799cbe72feb29473a76022634f0e017728f63a6;hp=e73862a11f7940598c24fd46546c92ae605ee3ea;hpb=96fc69e02a82bcd542d1c2abe0918598f4f2e846;p=metaproxy-moved-to-github.git diff --git a/doc/log.xml b/doc/log.xml index e73862a..80708cd 100644 --- a/doc/log.xml +++ b/doc/log.xml @@ -1,24 +1,29 @@ - %idcommon; ]> + + Metaproxy + Index Data + + log 3mp - Metaproxy Module - - + Metaproxy Module + + log Metaproxy Package Logging Module - + DESCRIPTION - This filter logs packages sent - and received . + This filter logs packages sent - and received . @@ -31,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). @@ -42,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: @@ -115,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. + + + - + @@ -182,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: @@ -214,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: @@ -237,7 +265,7 @@ - + presentRequest Z39.50 Present Request with the information: @@ -246,7 +274,7 @@ - + presentResponse Z39.50 Present Response with the information: @@ -255,7 +283,7 @@ - + scanRequest Z39.50 Scan Request with the information: @@ -267,7 +295,7 @@ - + scanResponse Z39.50 Scan Response with the information: @@ -276,12 +304,19 @@ - + - + + + + SCHEMA + + - + EXAMPLES A typical configuration looks like this: @@ -294,8 +329,8 @@ ]]> - - + + SEE ALSO @@ -304,21 +339,13 @@ - + ©right;