diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-06-14 15:02:49 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-08-14 22:02:05 +0200 |
commit | 3ec8b5b8980bb0267f32dfc2508c457db55d5156 (patch) | |
tree | f8a175d8dda4419fd724e222de519030f6b06d6e /lib | |
parent | lib: Convert to zlog_ferr for zclient.c (diff) | |
download | frr-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |