use ejabberd logger