aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-05-10 19:32:55 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-05-11 15:29:50 +0200
commit1a64df64ca126fb1e0dbe08c432d3c015d4ac458 (patch)
tree4bb7094648f6bb54bdad9f035fb80979b74b127d
parentb56b68b16b307df81eddf9705ead59198d75b7bd (diff)
improve log
Change-Id: I218356c3122179887e8be885affb82cdc6403dbf Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/afb-api-so-v1.c4
-rw-r--r--src/afb-api-so-v2.c2
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: