[Asterisk-code-review] media cache: Demote warning to debug as it may occur often. (asterisk[master])

Joshua Colp asteriskteam at digium.com
Fri Mar 25 06:04:17 CDT 2016


Joshua Colp has uploaded a new change for review.

  https://gerrit.asterisk.org/2465

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 chang demotes this warning to a debug message.

Change-Id: Ib72246ba300b5cce32774bfb3c26634bfb708624
---
M main/media_cache.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/65/2465/1

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: newchange
Gerrit-Change-Id: Ib72246ba300b5cce32774bfb3c26634bfb708624
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Joshua Colp <jcolp at digium.com>



More information about the asterisk-code-review mailing list