diff options
-rw-r--r-- | lib/log.c | 3 | ||||
-rw-r--r-- | lib/log.h | 1 | ||||
-rw-r--r-- | watchquagga/watchquagga.c | 2 |
3 files changed, 4 insertions, 2 deletions
@@ -58,7 +58,8 @@ const char *zlog_proto_names[] = "LDP", "ISIS", "PIM", - "RFP", + "RFP", + "WATCHQUAGGA", NULL, }; @@ -59,6 +59,7 @@ typedef enum ZLOG_ISIS, ZLOG_PIM, ZLOG_RFP, + ZLOG_WATCHQUAGGA, } zlog_proto_t; /* If maxlvl is set to ZLOG_DISABLED, then no messages will be sent 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) |