summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMickaël Rémond <mickael.remond@process-one.net>2009-10-08 17:22:48 +0000
committerMickaël Rémond <mickael.remond@process-one.net>2009-10-08 17:22:48 +0000
commitc79489fb656ab47b8890e5e033e5c76716cc1d6f (patch)
tree7348b06fb8f657c09aecfc255d467af081e403f2 /src
parentDocument new option max_fsm_queue. (diff)
Add debug message on command execution
SVN Revision: 2650
Diffstat (limited to 'src')
-rw-r--r--src/ejabberd_commands.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ejabberd_commands.erl b/src/ejabberd_commands.erl
index f0e21227..b3e9bd69 100644
--- a/src/ejabberd_commands.erl
+++ b/src/ejabberd_commands.erl
@@ -311,6 +311,7 @@ execute_command(AccessCommands, Auth, Name, Arguments) ->
execute_command2(Command, Arguments) ->
Module = Command#ejabberd_commands.module,
Function = Command#ejabberd_commands.function,
+ ?DEBUG("Executing command ~p:~p with Args=~p", [Module, Function, Arguments]),
apply(Module, Function, Arguments).
%% @spec () -> [{Tag::string(), [CommandName::string()]}]