From 189a186b765143b9b964ffd13b0bd732ab2dd131 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rostislav=20St=C5=99=C3=ADbrn=C3=BD?= Date: Fri, 4 Nov 2022 12:15:08 +0100 Subject: [PATCH] fix --- src/hellolog.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hellolog.c b/src/hellolog.c index f7fcb89..bda5b06 100644 --- a/src/hellolog.c +++ b/src/hellolog.c @@ -9,15 +9,15 @@ int main(int argc, char** argv) { FILE *f5; FILE *f6; - f1=fopen("/tmp/hellolog_level_debug.log", "w"); - f2=fopen("/tmp/hellolog_level_trace.log", "w"); + f1=fopen("/tmp/hellolog_level_trace.log", "w"); + f2=fopen("/tmp/hellolog_level_debug.log", "w"); f3=fopen("/tmp/hellolog_level_info.log", "w"); f4=fopen("/tmp/hellolog_level_warn.log", "w"); f5=fopen("/tmp/hellolog_level_error.log", "w"); f6=fopen("/tmp/hellolog_level_fatal.log", "w"); - log_add_fp(f1, LOG_DEBUG); - log_add_fp(f2, LOG_TRACE); + log_add_fp(f1, LOG_TRACE); + log_add_fp(f2, LOG_DEBUG); log_add_fp(f3, LOG_INFO); log_add_fp(f4, LOG_WARN); log_add_fp(f5, LOG_ERROR);