LogRPCTraffic (open)
Log RPC traffic
Syntax
LOADLIB "mod::system/lib/logging.whlib";
MACRO LogRPCTraffic(STRING logsource, STRING transport, BOOLEAN outgoing, STRING sourcetracker, STRING transactionid, RECORD data)Parameters
STRING logsourceSource or call of the rpc action (eg: webshop:payment.buckaroo, or statsserver:service.regsiter)
STRING transportTransport method or destination
BOOLEAN outgoingSet to true for outgoing traffic
STRING sourcetrackerOrginal requestor (IP address or trackingstamp if possible)
STRING transactionidRPC transaction id, to join request and response together
RECORD dataData to log. A request/reponse body should be logged into the cell 'body'