aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-12-02 10:15:24 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2019-12-03 18:51:51 +0100
commit36094f94483ab8ea878d64020983eb8416a33ae2 (patch)
treea0782aa4af92277c152fbe144a40ab3002de404e
parentd8aff62647736c3f17ff15989ec9f90b48efe1c4 (diff)
afb-supervision: Improve messages
The messages prompted when the supervisor is absent were of to high priority. Bug-AGL: SPEC-2968 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Change-Id: Ic53a3039c2d3ed5be0138ec3215d58e27758a79c
-rw-r--r--src/afb-supervision.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afb-supervision.c b/src/afb-supervision.c
index 259b256a..7b9ee649 100644
--- a/src/afb-supervision.c
+++ b/src/afb-supervision.c
@@ -161,14 +161,14 @@ static void try_connect_supervisor()
/* check existing path */
if (supervisor_socket_path[0] != '@' && access(supervisor_socket_path, F_OK)) {
- NOTICE("Can't acces socket path %s: %m", supervisor_socket_path);
+ INFO("Can't acces socket path %s: %m", supervisor_socket_path);
goto end;
}
/* socket connection */
fd = open_supervisor_socket(supervisor_socket_path);
if (fd < 0) {
- NOTICE("Can't connect supervision socket to %s: %m", supervisor_socket_path);
+ INFO("Can't connect supervision socket to %s: %m", supervisor_socket_path);
goto end;
}