diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-09-08 15:19:55 -0400 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2015-09-24 15:26:45 +0100 |
commit | e472b8a5141b91a4bb50f8ff55540cd601321572 (patch) | |
tree | bd9045eface182f1101593a60138c70c0b77f451 | |
parent | 44d03fd59eb7c9f83afcfbafbe014c95e0a8f539 (diff) | |
download | quagga-e472b8a5141b91a4bb50f8ff55540cd601321572.tar.bz2 quagga-e472b8a5141b91a4bb50f8ff55540cd601321572.tar.xz |
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>
-rw-r--r-- | pimd/pim_main.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/pimd/pim_main.c b/pimd/pim_main.c index 63dd6364..95c1816f 100644 --- a/pimd/pim_main.c +++ b/pimd/pim_main.c @@ -187,12 +187,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); @@ -209,17 +203,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); |