From: Andrey Volk Date: Fri, 17 Apr 2020 16:33:02 +0000 (+0400) Subject: [mod_shout] Reduce log level from error to warning for "Error opening %s (invalid... X-Git-Tag: v1.10.3^2~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b31c47eab74014bf72c970c75d996083d7205724;p=thirdparty%2Ffreeswitch.git [mod_shout] Reduce log level from error to warning for "Error opening %s (invalid rate or channel count)" --- diff --git a/src/mod/formats/mod_shout/mod_shout.c b/src/mod/formats/mod_shout/mod_shout.c index 99e99ebe3c..6799b38391 100644 --- a/src/mod/formats/mod_shout/mod_shout.c +++ b/src/mod/formats/mod_shout/mod_shout.c @@ -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; }