From fdae27544849b841f11b39af466c8aad4e63a009 Mon Sep 17 00:00:00 2001 From: Lionel Gauthier <lionel.gauthier@eurecom.fr> Date: Thu, 3 Jul 2014 14:32:11 +0000 Subject: [PATCH] bug component level git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5464 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- openair2/UTIL/LOG/log.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openair2/UTIL/LOG/log.c b/openair2/UTIL/LOG/log.c index 1932eb3e36..ad672d1859 100755 --- a/openair2/UTIL/LOG/log.c +++ b/openair2/UTIL/LOG/log.c @@ -478,6 +478,7 @@ void logRecord_thread_safe(const char *file, const char *func, return; } + vcd_signal_dumper_dump_function_by_name(VCD_SIGNAL_DUMPER_FUNCTIONS_LOG_RECORD, VCD_FUNCTION_IN); @@ -627,13 +628,13 @@ void logRecord_mt(const char *file, const char *func, int line, int comp, // do not apply filtering for LOG_F // only log messages which are enabled and are below the global log level and component's level threshold - if ((level != LOG_FILE) && ((level > c->level) && (level > g_log->level))) { + if ((level != LOG_FILE) && ((level > c->level) || (level > g_log->level))) { /* if ((level != LOG_FILE) && ((level > c->level) || (level > g_log->level) || ( c->level > g_log->level))) { */ - return; + return; } vcd_signal_dumper_dump_function_by_name(VCD_SIGNAL_DUMPER_FUNCTIONS_LOG_RECORD, -- GitLab