Install ejabberd-mod-s2s-log by entering the following commands in the terminal:
sudo apt update sudo apt install ejabberd-mod-s2s-log
logs XMPP s2s connections
This module can be used to keep a track of other XMPP servers your server has been connected with. Simply activate the module in ejabberd.yml after installation, see the included README.txt for further information.