From 326efc2de5c707a312a3b0a0dc809245250e7f55 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 13 Sep 2004 09:23:33 +0000 Subject: [PATCH] Log CCL and Z39.58 queries --- src/logrpn.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/logrpn.c b/src/logrpn.c index b79b2e3..c2e9dd9 100644 --- a/src/logrpn.c +++ b/src/logrpn.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2003, Index Data * All rights reserved. * - * $Id: logrpn.c,v 1.1 2003-10-27 12:21:30 adam Exp $ + * $Id: logrpn.c,v 1.2 2004-09-13 09:23:33 adam Exp $ */ #include @@ -361,6 +361,13 @@ void yaz_log_zquery (Z_Query *q) case Z_Query_type_1: case Z_Query_type_101: log_rpn_query (q->u.type_1); break; + case Z_Query_type_2: + yaz_log(LOG_LOG, "CCL: %.*s", q->u.type_2->len, q->u.type_2->buf); + break; + case Z_Query_type_100: + yaz_log(LOG_LOG, "Z39.58: %.*s", q->u.type_100->len, + q->u.type_100->buf); + break; case Z_Query_type_104: if (q->u.type_104->which == Z_External_CQL) yaz_log (LOG_LOG, "CQL: %s", q->u.type_104->u.cql); -- 1.7.10.4