summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-14 15:02:49 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 22:02:05 +0200
commit3ec8b5b8980bb0267f32dfc2508c457db55d5156 (patch)
treef8a175d8dda4419fd724e222de519030f6b06d6e /lib
parentlib: Convert to zlog_ferr for zclient.c (diff)
downloadfrr-3ec8b5b8980bb0267f32dfc2508c457db55d5156.tar.xz
frr-3ec8b5b8980bb0267f32dfc2508c457db55d5156.zip
lib: When logging commands do not use zlog_err
When we are logging a commands via the `log commands` cli, use zlog_notice instead of zlog_err, since that this is not an actual error situation. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com.
Diffstat (limited to 'lib')
-rw-r--r--lib/vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vty.c b/lib/vty.c
index 15e934b70..9beb25442 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -511,7 +511,7 @@ static int vty_command(struct vty *vty, char *buf)
vty_str);
/* now log the command */
- zlog_err("%s%s", prompt_str, buf);
+ zlog_notice("%s%s", prompt_str, buf);
}
#ifdef CONSUMED_TIME_CHECK