summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2018-10-16 19:58:03 +0200
committerJose Bollo <jose.bollo@iot.bzh>2018-10-22 12:38:55 +0200
commitd93a978a9e8e191edcd111507b33044037f73ed6 (patch)
tree4493378e1c8948cdd002bdcad38cc996515b4de3
parent17f61bbffd7269e4787c60b8bb7cc3e61e715bc5 (diff)
afb-apiset: Reorder priority of messages
The message before starting has now a greater priority than the one stating that start completed. Expecting that in case of problem it wil be cleaner. Change-Id: I2c27eb70f218d0492291c3eab4f8396ab5a6c093 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/afb-apiset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afb-apiset.c b/src/afb-apiset.c
index 332d52da..2df3c592 100644
--- a/src/afb-apiset.c
+++ b/src/afb-apiset.c
@@ -784,7 +784,7 @@ static int start_api(struct api_desc *api)
return -1;
}
- INFO("API %s starting...", api->name);
+ NOTICE("API %s starting...", api->name);
api->status = EBUSY;
rc = start_array_classes(&api->require.classes);
if (rc < 0)
@@ -803,7 +803,7 @@ static int start_api(struct api_desc *api)
api->status = errno ?: ECANCELED;
return -1;
}
- NOTICE("API %s started", api->name);
+ INFO("API %s started", api->name);
api->status = 0;
return 0;
}