diff options
author | Santosh P K <50885001+Spantik@users.noreply.github.com> | 2020-04-16 16:53:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-16 16:53:44 +0200 |
commit | 09133ff4f71a50e6cd15618ffc969604422f9436 (patch) | |
tree | c26ce24f253b8eb20b75483370c0728a4bf854f5 /tests/bgpd | |
parent | Merge pull request #6238 from donaldsharp/test_evpn_vxlan_cleanup (diff) | |
parent | doc: logging: clarify per-thread buffering (diff) | |
download | frr-09133ff4f71a50e6cd15618ffc969604422f9436.tar.xz frr-09133ff4f71a50e6cd15618ffc969604422f9436.zip |
Merge pull request #5451 from opensourcerouting/rcu-log
logging subsystem rewrite
Diffstat (limited to 'tests/bgpd')
-rw-r--r-- | tests/bgpd/test_peer_attr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/bgpd/test_peer_attr.c b/tests/bgpd/test_peer_attr.c index 490b0ee73..f6a892df4 100644 --- a/tests/bgpd/test_peer_attr.c +++ b/tests/bgpd/test_peer_attr.c @@ -1381,8 +1381,7 @@ static void test_peer_attr(struct test *test, struct test_peer_attr *pa) static void bgp_startup(void) { cmd_init(1); - openzlog("testbgpd", "NONE", 0, LOG_CONS | LOG_NDELAY | LOG_PID, - LOG_DAEMON); + zlog_aux_init("NONE: ", LOG_DEBUG); zprivs_preinit(&bgpd_privs); zprivs_init(&bgpd_privs); @@ -1438,7 +1437,6 @@ static void bgp_shutdown(void) zprivs_terminate(&bgpd_privs); thread_master_free(master); master = NULL; - closezlog(); } int main(void) |