pimd: Remove stdout zlog changes
Quagga start has unnecessary pim messages to stdout. Causing some confusion.
Logging is already saving this information in pimd.log
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
diff --git a/pimd/pim_main.c b/pimd/pim_main.c
index 63dd636..95c1816 100644
--- a/pimd/pim_main.c
+++ b/pimd/pim_main.c
@@ -187,12 +187,6 @@
master = thread_master_create();
- /*
- * Temporarily send zlog to stdout
- */
- zlog_default->maxlvl[ZLOG_DEST_STDOUT] = zlog_default->default_lvl;
- zlog_notice("Boot logging temporarily directed to stdout - begin");
-
zlog_notice("Quagga %s " PIMD_PROGNAME " %s starting",
QUAGGA_VERSION, PIMD_VERSION);
@@ -209,17 +203,7 @@
pim_init();
/*
- * reset zlog default, then will obey configuration file
- */
- zlog_notice("Boot logging temporarily directed to stdout - end");
-#if 0
- /* this would disable logging to stdout, but config has not been
- loaded yet to reconfig the logging output */
- zlog_default->maxlvl[ZLOG_DEST_STDOUT] = ZLOG_DISABLED;
-#endif
-
- /*
- Initialize zclient "update" and "lookup" sockets
+ * Initialize zclient "update" and "lookup" sockets
*/
pim_zebra_init(zebra_sock_path);