From 8f9446cf8fe4b48ae542c630416fac63d06a6802 Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Fri, 2 Jun 2023 04:38:33 +0200 Subject: [PATCH] Change printf() to TURN_LOG_FUNC() for --no-stdout-log (#1221) --- src/apps/common/ns_turn_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/common/ns_turn_utils.c b/src/apps/common/ns_turn_utils.c index 62b85ad..182858c 100644 --- a/src/apps/common/ns_turn_utils.c +++ b/src/apps/common/ns_turn_utils.c @@ -359,7 +359,7 @@ static void sighup_callback_handler(int signum) { static void set_rtpfile(void) { if (to_reset_log_file) { - printf("%s: resetting the log file\n", __FUNCTION__); + TURN_LOG_FUNC(TURN_LOG_LEVEL_DEBUG, "%s: resetting the log file\n", __FUNCTION__); reset_rtpprintf(); to_reset_log_file = 0; }