From: Joshua Colp Date: Fri, 25 Mar 2016 11:02:41 +0000 (-0300) Subject: media_cache: Demote warning to debug as it may occur often. X-Git-Tag: 14.0.0-beta1~315^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72a897c5345cda22697931f458aabe98fb6c0862;p=thirdparty%2Fasterisk.git media_cache: Demote warning to debug as it may occur often. The file playback system will now query the media cache and then the old file functionality. Under normal conditions this will result in the cache failing to retrieve a file causing a warning message to get output each time a file is played back. This change demotes this warning to a debug message. Change-Id: Ib72246ba300b5cce32774bfb3c26634bfb708624 --- diff --git a/main/media_cache.c b/main/media_cache.c index 9d68a10a54..958a05bb25 100644 --- a/main/media_cache.c +++ b/main/media_cache.c @@ -248,7 +248,7 @@ int ast_media_cache_retrieve(const char *uri, const char *preferred_file_name, */ bucket_file = ast_bucket_file_retrieve(uri); if (!bucket_file) { - ast_log(LOG_WARNING, "Failed to obtain media at '%s'\n", uri); + ast_debug(2, "Failed to obtain media at '%s'\n", uri); return -1; }