Log when session terminates PAZ-905
[pazpar2-moved-to-github.git] / src / pazpar2_config.c
index 79e7ad2..8068b13 100644 (file)
@@ -45,7 +45,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #include "settings.h"
 #include "eventl.h"
 #include "http.h"
-#include "session.h"
 
 struct conf_config
 {
@@ -282,8 +281,6 @@ void service_destroy(struct conf_service *service)
 
 void service_incref(struct conf_service *service)
 {
-    yaz_log(YLOG_LOG, "service_incref. p=%p cnt=%d", service,
-            service->ref_count);
     pazpar2_incref(&service->ref_count, service->mutex);
 }
 
@@ -987,7 +984,7 @@ struct conf_service *locate_service(struct conf_server *server,
     return s;
 }
 
-void info_service_metadata(struct conf_service *service, WRBUF w)
+static void info_service_metadata(struct conf_service *service, WRBUF w)
 {
     int i;
     struct conf_metadata *md;
@@ -1082,7 +1079,7 @@ void info_service_metadata(struct conf_service *service, WRBUF w)
     }
 }
 
-void info_service_databases(struct conf_service *service, WRBUF w)
+static void info_service_databases(struct conf_service *service, WRBUF w)
 {
     struct database *db;
     struct setting *s;
@@ -1287,7 +1284,6 @@ void server_destroy(struct conf_server *server)
         s = s_next;
     }
     pp2_charset_fact_destroy(server->charsets);
-    yaz_log(YLOG_LOG, "server_destroy server=%p", server);
     http_server_destroy(server->http_server);
 }