From b31c47eab74014bf72c970c75d996083d7205724 Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Fri, 17 Apr 2020 20:33:02 +0400 Subject: [PATCH] [mod_shout] Reduce log level from error to warning for "Error opening %s (invalid rate or channel count)" --- src/mod/formats/mod_shout/mod_shout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }