diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2016-11-08 23:56:34 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2016-11-09 14:00:48 +0100 |
commit | 46d5d8ec829a3b2daba6fe86463ece550851fc38 (patch) | |
tree | 0fbb43f24a89b68c6106b60cf98f41b1c5d5f6ed /watchquagga/watchquagga.c | |
parent | vtysh: set config file permissions (diff) | |
download | frr-46d5d8ec829a3b2daba6fe86463ece550851fc38.tar.xz frr-46d5d8ec829a3b2daba6fe86463ece550851fc38.zip |
watchquagga: add ZLOG_WATCHQUAGGA
watchquagga logs as "NONE", which will also become visible in vtysh for
error messages. Add "WATCHQUAGGA" log target.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to '')
-rw-r--r-- | watchquagga/watchquagga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/watchquagga/watchquagga.c b/watchquagga/watchquagga.c index e882653e3..aa5d1bcd8 100644 --- a/watchquagga/watchquagga.c +++ b/watchquagga/watchquagga.c @@ -1335,7 +1335,7 @@ main(int argc, char **argv) return usage(progname,1); } - zlog_default = openzlog(progname, ZLOG_NONE, 0, + zlog_default = openzlog(progname, ZLOG_WATCHQUAGGA, 0, LOG_CONS|LOG_NDELAY|LOG_PID, LOG_DAEMON); zlog_set_level(NULL, ZLOG_DEST_MONITOR, ZLOG_DISABLED); if (daemon_mode) |