projects
/
pazpar2-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:
ba0ef7d
)
Added PP2 session create/destroy logging
author
Dennis Schafroth
<dennis@indexdata.com>
Tue, 27 Apr 2010 11:49:03 +0000
(13:49 +0200)
committer
Dennis Schafroth
<dennis@indexdata.com>
Tue, 27 Apr 2010 11:49:03 +0000
(13:49 +0200)
src/session.c
patch
|
blob
|
history
diff --git
a/src/session.c
b/src/session.c
index
6327ba9
..
ce5c635
100644
(file)
--- a/
src/session.c
+++ b/
src/session.c
@@
-669,6
+669,7
@@
void destroy_session(struct session *s)
{
struct session_database *sdb;
+ yaz_log(YLOG_DEBUG, "%p Pazpar2 session destroy", s);
session_remove_clients(s);
for (sdb = s->databases; sdb; sdb = sdb->next)
@@
-688,7
+689,7
@@
struct session *new_session(NMEM nmem, struct conf_service *service,
int i;
struct session *session = nmem_malloc(nmem, sizeof(*session));
- yaz_log(YLOG_DEBUG, "New Pazpar2 session");
+ yaz_log(YLOG_DEBUG, "%p New Pazpar2 session", session);
session->service = service;
session->relevance = 0;