From bccc2f40b220242f59829178b8ffe632088d8aeb Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 19 Aug 2015 17:11:26 +0200 Subject: [PATCH] lldpcli: display a warning when a configuration file is not found Otherwise, the output of lldpcli would look pretty empty. --- src/client/lldpcli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/lldpcli.c b/src/client/lldpcli.c index a0b1d7a4..38e73541 100644 --- a/src/client/lldpcli.c +++ b/src/client/lldpcli.c @@ -385,7 +385,7 @@ input_append(const char *arg, struct inputs *inputs, int acceptdir) { struct stat statbuf; if (stat(arg, &statbuf) == -1) { - log_info("lldpctl", "cannot find configuration file/directory %s", + log_warn("lldpctl", "cannot find configuration file/directory %s", arg); return; } -- 2.39.5