Change printf() to TURN_LOG_FUNC() for --no-stdout-log (#1221)

This commit is contained in:
Robert Scheck 2023-06-02 04:38:33 +02:00 committed by GitHub
parent 7bc932a905
commit 8f9446cf8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}