From 18a232959d68f73526ee1b9f801e9c617f761e3f Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 8 Sep 2015 15:19:55 -0400 Subject: [PATCH] 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 --- pimd/pim_main.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/pimd/pim_main.c b/pimd/pim_main.c index f5957b0a4d..96b784c2c8 100644 --- a/pimd/pim_main.c +++ b/pimd/pim_main.c @@ -186,12 +186,6 @@ int main(int argc, char** argv, char** envp) { 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); @@ -207,17 +201,7 @@ int main(int argc, char** argv, char** envp) { 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); -- 2.39.5