summaryrefslogtreecommitdiffstats
path: root/tests/bgpd
diff options
context:
space:
mode:
authorSantosh P K <50885001+Spantik@users.noreply.github.com>2020-04-16 16:53:44 +0200
committerGitHub <noreply@github.com>2020-04-16 16:53:44 +0200
commit09133ff4f71a50e6cd15618ffc969604422f9436 (patch)
treec26ce24f253b8eb20b75483370c0728a4bf854f5 /tests/bgpd
parentMerge pull request #6238 from donaldsharp/test_evpn_vxlan_cleanup (diff)
parentdoc: logging: clarify per-thread buffering (diff)
downloadfrr-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.c4
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)