diff options
author | Sid Khot <sidkhot@cumulusnetworks.com> | 2016-08-18 04:36:54 +0200 |
---|---|---|
committer | Sid Khot <sidkhot@cumulusnetworks.com> | 2016-08-18 04:36:54 +0200 |
commit | c05795b16b4bcb9de4663f3fc9664a623277d47a (patch) | |
tree | 0fa49699ada82afba5915865829a421ad5be7796 /ripd/rip_main.c | |
parent | BGP: neighbor activate lines for ipv4 unicast are not in the sub context (diff) | |
download | frr-c05795b16b4bcb9de4663f3fc9664a623277d47a.tar.xz frr-c05795b16b4bcb9de4663f3fc9664a623277d47a.zip |
Fix for CM-12450 Ensure quagga logs at startup are sent to syslog (until log configuration is processed)
Ticket: CM-12450
Reviewed By: CCR-5112
Testing Done: Manual
Diffstat (limited to 'ripd/rip_main.c')
-rw-r--r-- | ripd/rip_main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ripd/rip_main.c b/ripd/rip_main.c index f920e809e..aa1c4ff4d 100644 --- a/ripd/rip_main.c +++ b/ripd/rip_main.c @@ -205,7 +205,9 @@ main (int argc, char **argv) zlog_default = openzlog (progname, ZLOG_RIP, 0, LOG_CONS|LOG_NDELAY|LOG_PID, LOG_DAEMON); zprivs_init (&ripd_privs); - zlog_set_file (NULL, LOG_DEFAULT_FILENAME, zlog_default->default_lvl); +#if defined(HAVE_CUMULUS) + zlog_set_level (NULL, ZLOG_DEST_SYSLOG, zlog_default->default_lvl); +#endif /* Command line option parse. */ while (1) |