projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7279e4
)
Log SRU auth params in GFS
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 11 Apr 2011 10:14:41 +0000
(12:14 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 11 Apr 2011 10:14:41 +0000
(12:14 +0200)
src/seshigh.c
patch
|
blob
|
history
diff --git
a/src/seshigh.c
b/src/seshigh.c
index
0a3f9fa
..
1d709aa
100644
(file)
--- 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);