Skip to content

Commit a01ed3a

Browse files
authored
Update rdk_debug_priv.c
1 parent 3ae5290 commit a01ed3a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/rdk_debug_priv.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,8 +661,8 @@ void rdk_dbg_priv_log_msg(rdk_LogLevel level, const char *module_name, const cha
661661
}
662662
pthread_mutex_unlock(&gLoggingMutex);
663663

664-
/* Bridge log message to OTEL LogRecord if enabled at runtime */
665-
if (rdk_otlp_logs_enabled())
664+
/* Bridge log message to OTEL LogRecord if enabled for this module */
665+
if (rdk_otlp_logs_enabled(module_name))
666666
{
667667
char otel_msg_buf[1024];
668668
vsnprintf(otel_msg_buf, sizeof(otel_msg_buf), format, args_copy);

0 commit comments

Comments
 (0)