diff --git a/openair2/UTIL/LOG/log.c b/openair2/UTIL/LOG/log.c index 1932eb3e36c6b7a5a09a1137a629bdf6a4c0effc..ad672d1859d241701845b367a7d14741eed1e6ae 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,