From e615c365e7efd1e92541dd9dc0e50d3193956ad3 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Fri, 20 Apr 2012 10:41:46 +0200 Subject: [PATCH] lowered logging to DEBUG --- src/database.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/database.c b/src/database.c index d6fb757..21b442c 100644 --- a/src/database.c +++ b/src/database.c @@ -68,7 +68,7 @@ struct database *new_database_inherit_settings(const char *id, NMEM nmem, struct db->next = 0; if (service_settings && service_settings->num_settings > 0) { - yaz_log(YLOG_LOG, "copying values from service settings"); + yaz_log(YLOG_DEBUG, "copying settings from service to database %s settings", db->id); db->num_settings = service_settings->num_settings; db->settings = nmem_malloc(nmem, sizeof(struct settings*) * db->num_settings); // Initialize database settings with service settings @@ -76,7 +76,7 @@ struct database *new_database_inherit_settings(const char *id, NMEM nmem, struct } else { - yaz_log(YLOG_LOG, "No service settings delivered"); + yaz_log(YLOG_DEBUG, "No service settings to database %s ", db->id); db->num_settings = PZ_MAX_EOF; db->settings = nmem_malloc(nmem, sizeof(struct settings*) * db->num_settings); memset(db->settings, 0, sizeof(struct settings*) * db->num_settings); @@ -101,7 +101,7 @@ struct database *create_database_for_service(const char *id, if (!strcmp(p->id, id)) return p; - yaz_log(YLOG_LOG, "new database from service %s values %p", service->id, service->settings); + yaz_log(YLOG_DEBUG, "new database %s under service %s values %p", id, service->id); p = new_database_inherit_settings(id, service->nmem, service->settings); p->next = service->databases; -- 1.7.10.4