ejabberd-mod-message-log

ejabberd module to write a line for each message to a log file
  https://github.com/processone/ejabberd-contrib
  0
  no reviews



This module writes a line for each sent or received message to a log file. Each line mentions the sender's JID and the recipient's JID, and also the message type (e.g., "normal", "chat", or "groupchat"). Carbon copies are marked as such.