X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Flog.xml;h=ca8bd3057a7e43aab04bf1a99c36ac1c5d88a060;hb=8ced8e7b5de3ecba12ac68ce5c5e8cddf40d800f;hp=618b3cec7d9a375b4fdb26e3c85981e19ccc47dd;hpb=86cf292c69bde833d4f587cbf0fae5c6e7d47c68;p=metaproxy-moved-to-github.git diff --git a/doc/log.xml b/doc/log.xml index 618b3ce..ca8bd30 100644 --- a/doc/log.xml +++ b/doc/log.xml @@ -1,25 +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 . @@ -43,7 +47,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: @@ -59,6 +63,14 @@ + user-access + + + One line log messages similar to access but + with the authenticated user on each log line. + + + request-apdu @@ -109,7 +121,7 @@ - + @@ -146,6 +158,10 @@ IP address of origin (peer) + + If category user-acesss is used the + user is written on position 3 and the IP is written on position 4. + @@ -171,30 +187,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: @@ -203,21 +219,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: @@ -226,7 +242,7 @@ - + presentRequest Z39.50 Present Request with the information: @@ -235,7 +251,7 @@ - + presentResponse Z39.50 Present Response with the information: @@ -244,7 +260,7 @@ - + scanRequest Z39.50 Scan Request with the information: @@ -256,7 +272,7 @@ - + scanResponse Z39.50 Scan Response with the information: @@ -265,12 +281,19 @@ - + - + + + + SCHEMA + + - + EXAMPLES A typical configuration looks like this: @@ -283,8 +306,8 @@ ]]> - - + + SEE ALSO @@ -293,21 +316,13 @@ - + ©right;