From 06dfe2e3a47d2fa2d5323a5dbbc5d9701334fac9 Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Wed, 11 Mar 2020 19:55:29 +0400 Subject: [PATCH] [mod_sndfile] Reduce error level to warning for "Error Opening File" --- src/mod/formats/mod_sndfile/mod_sndfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/formats/mod_sndfile/mod_sndfile.c b/src/mod/formats/mod_sndfile/mod_sndfile.c index 7e826b7c46..5d2962a8c4 100644 --- a/src/mod/formats/mod_sndfile/mod_sndfile.c +++ b/src/mod/formats/mod_sndfile/mod_sndfile.c @@ -278,7 +278,7 @@ static switch_status_t sndfile_file_open(switch_file_handle_t *handle, const cha if (!context->handle) { if (sndfile_perform_open(context, path, mode, handle) != SWITCH_STATUS_SUCCESS) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error Opening File [%s] [%s]\n", path, sf_strerror(context->handle)); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Error Opening File [%s] [%s]\n", path, sf_strerror(context->handle)); status = SWITCH_STATUS_GENERR; goto end; }