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>
This commit is contained in:
Donald Sharp 2015-09-08 15:19:55 -04:00 committed by Donald Sharp
parent 2cd32c6114
commit 18a232959d

View file

@ -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);