[asterisk-commits] media cache: Demote warning to debug as it may occur often. (asterisk[master])
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Mar 25 12:30:51 CDT 2016
Joshua Colp has submitted this change and it was merged.
Change subject: media_cache: Demote warning to debug as it may occur often.
......................................................................
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
---
M main/media_cache.c
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Kevin Harwell: Looks good to me, but someone else must approve
Richard Mudgett: Looks good to me, but someone else must approve
Joshua Colp: Looks good to me, approved; Verified
diff --git a/main/media_cache.c b/main/media_cache.c
index 9d68a10..958a05b 100644
--- a/main/media_cache.c
+++ b/main/media_cache.c
@@ -248,7 +248,7 @@
*/
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;
}
--
To view, visit https://gerrit.asterisk.org/2465
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib72246ba300b5cce32774bfb3c26634bfb708624
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
More information about the asterisk-commits
mailing list