summaryrefslogtreecommitdiff
path: root/main/media_cache.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-03-25 08:02:41 -0300
committerRichard Mudgett <rmudgett@digium.com>2016-03-25 10:22:36 -0500
commit72a897c5345cda22697931f458aabe98fb6c0862 (patch)
tree4d1d32655b0466f28650ad1f0567f5bf93647cce /main/media_cache.c
parentd7ee89b49950522f78afaca70d194f868f59321c (diff)
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
Diffstat (limited to 'main/media_cache.c')
-rw-r--r--main/media_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/media_cache.c b/main/media_cache.c
index 9d68a10a5..958a05bb2 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;
}