]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_shout] Reduce log level from error to warning for "Error opening %s (invalid...
authorAndrey Volk <andywolk@gmail.com>
Fri, 17 Apr 2020 16:33:02 +0000 (20:33 +0400)
committerAndrey Volk <andywolk@gmail.com>
Wed, 6 May 2020 23:10:37 +0000 (03:10 +0400)
src/mod/formats/mod_shout/mod_shout.c

index 99e99ebe3c759e453963d716441f90483d3b768c..6799b383914d1743393c2e563b54f48a202fae55 100644 (file)
@@ -736,7 +736,7 @@ static switch_status_t shout_file_open(switch_file_handle_t *handle, const char
                mpg123_getformat(context->mh, &rate, &channels, &encoding);
 
                if (!channels || !rate) {
-                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error opening %s (invalid rate or channel count)\n", path);
+                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Error opening %s (invalid rate or channel count)\n", path);
                        goto error;
                }