[Asterisk-code-review] main/file.c: Add debug where is searched file in filehelper ... (asterisk[master])

Rodrigo Ramirez Norambuena asteriskteam at digium.com
Sat Nov 7 11:09:03 CST 2015


Rodrigo Ramirez Norambuena has uploaded a new change for review.

  https://gerrit.asterisk.org/1586

Change subject: main/file.c: Add debug where is searched file in filehelper function
......................................................................

main/file.c: Add debug where is searched file in filehelper function

For errors like not found using PlayBack or Background app is difficulty to
know where is searched the file.

This patch add log debug where is searched file in filehelper function.

ASTERISK-25531 #close
Reported By: Rodrigo Ramírez Norambuena

Change-Id: Iea667ee6625657cb82be26773517b1a2d054db3b
---
M main/file.c
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/86/1586/1

diff --git a/main/file.c b/main/file.c
index bfad6e0..972e180 100644
--- a/main/file.c
+++ b/main/file.c
@@ -525,6 +525,8 @@
 			struct stat st;
 			char *fn = build_filename(filename, ext);
 
+			ast_log(LOG_DEBUG, "Search file %s \n", fn);
+
 			if (fn == NULL)
 				continue;
 

-- 
To view, visit https://gerrit.asterisk.org/1586
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iea667ee6625657cb82be26773517b1a2d054db3b
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Rodrigo Ramirez Norambuena <a at rodrigoramirez.com>



More information about the asterisk-code-review mailing list