summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/log.c3
-rw-r--r--lib/log.h1
-rw-r--r--watchquagga/watchquagga.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/lib/log.c b/lib/log.c
index cd1f0bb77..f9877300b 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -58,7 +58,8 @@ const char *zlog_proto_names[] =
"LDP",
"ISIS",
"PIM",
- "RFP",
+ "RFP",
+ "WATCHQUAGGA",
NULL,
};
diff --git a/lib/log.h b/lib/log.h
index d71b85df1..feb1e1852 100644
--- a/lib/log.h
+++ b/lib/log.h
@@ -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)