X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Flog.xml;h=7c1f19102baadc373603e4a6a571baa4976815f9;hb=88ae89d44e94fb935ec29b4755959332e9116aac;hp=618b3cec7d9a375b4fdb26e3c85981e19ccc47dd;hpb=86cf292c69bde833d4f587cbf0fae5c6e7d47c68;p=metaproxy-moved-to-github.git diff --git a/doc/log.xml b/doc/log.xml index 618b3ce..7c1f191 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 @@ -108,8 +120,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. + + + - + @@ -146,6 +167,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 +196,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 +228,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 +251,7 @@ - + presentRequest Z39.50 Present Request with the information: @@ -235,7 +260,7 @@ - + presentResponse Z39.50 Present Response with the information: @@ -244,7 +269,7 @@ - + scanRequest Z39.50 Scan Request with the information: @@ -256,7 +281,7 @@ - + scanResponse Z39.50 Scan Response with the information: @@ -265,12 +290,19 @@ - + - + + + + SCHEMA + + - + EXAMPLES A typical configuration looks like this: @@ -283,8 +315,8 @@ ]]> - - + + SEE ALSO @@ -293,21 +325,13 @@ - + ©right;