mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-18 15:28:33 +00:00
FS-8898 log setVariable at debug, so you can tell what variables are being set with ease from scripts
This commit is contained in:
1 parent
56332c92c8
commit
49b9d7f9ff
1 file changed
+1
@@ -740,6 +740,7 @@ SWITCH_DECLARE(void) CoreSession::setVariable(char *var, char *val)
|
||||
{
|
||||
this_check_void();
|
||||
sanity_check_noreturn;
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "CoreSession::setVariable('%s', '%s')\n", var, val);
|
||||
switch_channel_set_variable_var_check(channel, var, val, SWITCH_FALSE);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user