summaryrefslogtreecommitdiffstats
path: root/tests/lib/test_sig.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/test_sig.c')
-rw-r--r--tests/lib/test_sig.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/lib/test_sig.c b/tests/lib/test_sig.c
index cf63a3d04..2aceafb8f 100644
--- a/tests/lib/test_sig.c
+++ b/tests/lib/test_sig.c
@@ -57,11 +57,7 @@ int main(void)
master = thread_master_create(NULL);
signal_init(master, array_size(sigs), sigs);
- openzlog("testsig", "NONE", 0, LOG_CONS | LOG_NDELAY | LOG_PID,
- LOG_DAEMON);
- zlog_set_level(ZLOG_DEST_SYSLOG, ZLOG_DISABLED);
- zlog_set_level(ZLOG_DEST_STDOUT, LOG_DEBUG);
- zlog_set_level(ZLOG_DEST_MONITOR, ZLOG_DISABLED);
+ zlog_aux_init("NONE: ", LOG_DEBUG);
while (thread_fetch(master, &t))
thread_call(&t);