From 5bfd14747afb35c8009f9d6eb960c1b887717cab Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 11 Apr 2011 12:14:41 +0200 Subject: [PATCH] Log SRU auth params in GFS --- src/seshigh.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/seshigh.c b/src/seshigh.c index 0a3f9fa..1d709aa 100644 --- a/src/seshigh.c +++ b/src/seshigh.c @@ -540,6 +540,9 @@ static int srw_bend_init(association *assoc, Z_SRW_diagnostic **d, int *num, Z_S len = strlen(sr->username) + 1; if (sr->password) len += strlen(sr->password) + 2; + yaz_log(log_requestdetail, "username=%s password-len=%ld", + sr->username, (long) + (sr->password ? strlen(sr->password) : 0)); auth->which = Z_IdAuthentication_open; auth->u.open = (char *) odr_malloc(assoc->decode, len); strcpy(auth->u.open, sr->username); -- 1.7.10.4