提交 49b9d7f9 authored 作者: Brian West's avatar Brian West

FS-8898 log setVariable at debug, so you can tell what variables are being set…

FS-8898 log setVariable at debug, so you can tell what variables are being set with ease from scripts
上级 56332c92
......@@ -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);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论