Modified: freeswitch/trunk/src/switch_core_state_machine.c (17399 => 17400)
--- freeswitch/trunk/src/switch_core_state_machine.c 2010-04-26 09:08:22 UTC (rev 17399)
+++ freeswitch/trunk/src/switch_core_state_machine.c 2010-04-26 09:12:26 UTC (rev 17400)
@@ -526,8 +526,9 @@
switch_api_execute(cmd, expanded, use_session, &stream);
- switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Hangup Command %s(%s):\n%s\n", cmd, switch_str_nil(expanded),
- switch_str_nil((char *) stream.data));
+ switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Hangup Command %s %s(%s):\n%s\n",
+ use_session ? "with Session" : "with no Session", cmd, switch_str_nil(expanded),
+ switch_str_nil((char *) stream.data) );
if (expanded != arg) {
switch_safe_free(expanded);