From c79489fb656ab47b8890e5e033e5c76716cc1d6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20R=C3=A9mond?= Date: Thu, 8 Oct 2009 17:22:48 +0000 Subject: [PATCH] Add debug message on command execution SVN Revision: 2650 --- src/ejabberd_commands.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ejabberd_commands.erl b/src/ejabberd_commands.erl index f0e212277..b3e9bd692 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()]}]