Debugging ejabberd

To get detailed debugging information on ejabberd, you need to compile it with debugging informations. There are two ways to compile ejabberd in debug mode:

  • Add the following line at the start of the file ejabberd.hrl:
    -define(ejabberd_debug).
    

    Then recompile ejabberd:

    make clean
    make

    Note: that you can choose to recompile only the file that you want to put in debug mode.

  • Compile ejabberd with the following make file option:
    make ejabberd_debug=true

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

the make file option is

the make file option is

make debug=true
Syndicate content