diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-09-08 15:19:55 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetwroks.com> | 2016-05-25 20:38:33 -0400 |
| commit | 18a232959d68f73526ee1b9f801e9c617f761e3f (patch) | |
| tree | c3d939912015345010531b0a2bf346da0ad3294b /pimd/pim_main.c | |
| parent | 2cd32c6114558522fdb71eff664594aa6f312bf3 (diff) | |
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>
Diffstat (limited to 'pimd/pim_main.c')
| -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 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); |
