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-16 19:58:03 +0200
commit5ee4995733cc3f53b8b55d045530918b2125e78a (patch)
tree8c0871515c5c5f511ff4808dd6de63b3f81e8fcc
parentdb0e6847875ee891a5d7506d267e733b91ce8e46 (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;
}