Quickly start logging of user chat log messages in Jabber Server
Here are the steps I’ve taken to turn on user chat logging for a jabber server. Please note that this way is not very efficient as it logs chats in plain html file. Logging into database might be more suitable for you.
Step 1: Checkout jabber modules
User chat logging in plain html files are provided by jabber module mod_log_chat. We are going to checkout jabber modules by using subversion client (svn). Make sure you have subversion client installed before proceeding
$ cd /usr/src $ svn co https://svn.process-one.net/ejabberd-modules $ cd ejabberd-modules/mod_log_chat/trunk/
Step 2: Compile mod_log_chat
We will compile and install mod_log_chat module. Make sure you have erlang installed for compilation purpose.