summaryrefslogtreecommitdiff
path: root/tests/lib/test_zlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/test_zlog.c')
-rw-r--r--tests/lib/test_zlog.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/lib/test_zlog.c b/tests/lib/test_zlog.c
index 07885d9847..3042cc6cc1 100644
--- a/tests/lib/test_zlog.c
+++ b/tests/lib/test_zlog.c
@@ -52,9 +52,7 @@ bool (*tests[])(void) = {
int main(int argc, char **argv)
{
- openzlog("testzlog", "NONE", 0, LOG_CONS | LOG_NDELAY | LOG_PID,
- LOG_ERR);
- zlog_set_file("test_zlog.log", LOG_DEBUG);
+ zlog_aux_init("NONE: ", ZLOG_DISABLED);
for (unsigned int i = 0; i < array_size(tests); i++)
if (!tests[i]())