]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_sndfile] Reduce error level to warning for "Error Opening File"
authorAndrey Volk <andywolk@gmail.com>
Wed, 11 Mar 2020 15:55:29 +0000 (19:55 +0400)
committerAndrey Volk <andywolk@gmail.com>
Wed, 6 May 2020 22:48:21 +0000 (02:48 +0400)
src/mod/formats/mod_sndfile/mod_sndfile.c

index 7e826b7c464576963dc7f42f3f0e1d2e33e73603..5d2962a8c4d5388da080a7e67c4faec7f081d31b 100644 (file)
@@ -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;
                }