From: Dennis Schafroth Date: Tue, 27 Apr 2010 11:49:03 +0000 (+0200) Subject: Added PP2 session create/destroy logging X-Git-Tag: v1.4.0~3^2~11 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=9c47ab6aa508ca440df5abad9143e746438823b1;p=pazpar2-moved-to-github.git Added PP2 session create/destroy logging --- 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;