views:

236

answers:

1

I would like to log when a stanza (message and presence only) was received by the ejabberd server,a nd when it was sent to the other party (or broardcast).

Whats important for me is to log the stanza and the times they are sent & received.

Thanks.

A: 

I'm facing the same problem. I mostly want to log group chats and occasional p2p chats, preferably in mysql. I found a module that does mysql logging, but it needs patching and recompiling, and I dont know if it will be maintained in the future: http://www.dp.uz.gov.ua/o.palij/mod_logdb/

There are some other mods too (like mod_muc_log). Try searching ejabberd.im

If ejabberd will be programatically accessed (like in my case), the other option would be automatically including a logging bot in every conversation.

I think im gonna start with the 1st solution, though.

rolfen