From 1a64df64ca126fb1e0dbe08c432d3c015d4ac458 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Wed, 10 May 2017 19:32:55 +0200 Subject: [PATCH] improve log MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I218356c3122179887e8be885affb82cdc6403dbf Signed-off-by: José Bollo --- src/afb-api-so-v1.c | 4 ++-- src/afb-api-so-v2.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/afb-api-so-v1.c b/src/afb-api-so-v1.c index 739d2557..c5f20b7f 100644 --- a/src/afb-api-so-v1.c +++ b/src/afb-api-so-v1.c @@ -208,7 +208,7 @@ int afb_api_so_v1_add(const char *path, void *handle, struct afb_apiset *apiset) afb_ditf_init_v1(&desc->ditf, path); /* init the binding */ - NOTICE("binding [%s] calling registering function %s", path, afb_api_so_v1_register); + INFO("binding [%s] calling registering function %s", path, afb_api_so_v1_register); desc->binding = register_function(&desc->ditf.interface); if (desc->binding == NULL) { ERROR("binding [%s] register function failed. continuing...", path); @@ -245,7 +245,7 @@ int afb_api_so_v1_add(const char *path, void *handle, struct afb_apiset *apiset) ERROR("binding [%s] can't be registered...", path); goto error2; } - NOTICE("binding %s loaded with API prefix %s", path, desc->binding->v1.prefix); + INFO("binding %s loaded with API prefix %s", path, desc->binding->v1.prefix); return 1; error2: diff --git a/src/afb-api-so-v2.c b/src/afb-api-so-v2.c index b5c6c64e..11cd56f7 100644 --- a/src/afb-api-so-v2.c +++ b/src/afb-api-so-v2.c @@ -193,7 +193,7 @@ int afb_api_so_v2_add_binding(const struct afb_binding_v2 *binding, void *handle ERROR("binding %s can't be registered to set %s...", binding->api, afb_apiset_name(apiset)); goto error2; } - NOTICE("binding %s added to set %s", binding->api, afb_apiset_name(apiset)); + INFO("binding %s added to set %s", binding->api, afb_apiset_name(apiset)); return 1; error2: -- 2.16.6