From 9c47ab6aa508ca440df5abad9143e746438823b1 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Tue, 27 Apr 2010 13:49:03 +0200 Subject: [PATCH] Added PP2 session create/destroy logging --- src/session.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/session.c b/src/session.c index 6327ba9..ce5c635 100644 --- 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; -- 1.7.10.4