From: Brian West Date: Thu, 10 Mar 2016 02:33:52 +0000 (-0600) Subject: FS-8898 log setVariable at debug, so you can tell what variables are being set with... X-Git-Tag: v1.6.7~2^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49b9d7f9ffc64a22d92eb0f688dfe836d60d9b1b;p=thirdparty%2Ffreeswitch.git FS-8898 log setVariable at debug, so you can tell what variables are being set with ease from scripts --- diff --git a/src/switch_cpp.cpp b/src/switch_cpp.cpp index 0467109926..485cb02edf 100644 --- a/src/switch_cpp.cpp +++ b/src/switch_cpp.cpp @@ -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); }