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 /ospf6d/ospf6_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 'ospf6d/ospf6_main.c')
-rw-r--r-- | ospf6d/ospf6_main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c index c989a5a10..a368b0530 100644 --- a/ospf6d/ospf6_main.c +++ b/ospf6d/ospf6_main.c @@ -321,7 +321,9 @@ main (int argc, char *argv[], char *envp[]) LOG_CONS|LOG_NDELAY|LOG_PID, LOG_DAEMON); zprivs_init (&ospf6d_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 /* initialize zebra libraries */ signal_init (master, array_size(ospf6_signals), ospf6_signals); |