Debugging ejabberd

To get detailled debugging information on ejabberd, you need to compile it with debugging informations. To compile ejabberd in debug mode you have two options.

  1. 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.

  2. compile ejabberd with the following make file option:
    make ejabberd_debug=true
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.