Add debug message on command execution

SVN Revision: 2650
This commit is contained in:
Mickaël Rémond 2009-10-08 17:22:48 +00:00
parent 4039f4a14f
commit c79489fb65
1 changed files with 1 additions and 0 deletions

View File

@ -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()]}]