ejabberd-contrib/mod_log_chat
badlop 474bb63209 Merge pull request #38 from weiss/update-build-bat
Update erl(1) command line in build.bat files
2014-05-29 11:29:44 +02:00
..
conf Initial import from ejabberd-modules SVN 2013-04-15 12:03:14 +02:00
ebin Add ebin/ dirs with .keepme file to ensure Git tracks them 2013-04-15 12:18:19 +02:00
src Fix mod_log_chat so it works with Ejabberd 13.12. 2014-05-04 22:42:13 -05:00
Emakefile Include lager in the build dependencies. 2014-05-04 22:41:16 -05:00
LICENSE.txt Initial import from ejabberd-modules SVN 2013-04-15 12:03:14 +02:00
Makefile Initial import from ejabberd-modules SVN 2013-04-15 12:03:14 +02:00
README.txt mod_log_chat/README.txt: Reflect the move to Git 2014-05-28 22:11:23 +02:00
TODO Initial import from ejabberd-modules SVN 2013-04-15 12:03:14 +02:00
build.bat Update erl(1) command line in build.bat files 2014-05-28 22:16:55 +02:00
build.sh Initial import from ejabberd-modules SVN 2013-04-15 12:03:14 +02:00

README.txt

mod_log_chat
============

mod_log_chat is an ejabberd module aimed at logging chat messages in
text files. mod_log_chat creates one file per couple of chatters and
per day (it doesn't log muc messages, use mod_muc_log for this).

It can store messages in plain text or HTML format.

Compilation and installation
----------------------------

- You need to have Erlang installed.

- Run
  erl -pa ../ejabberd-dev/ebin -make
  in the mod_log_chat directory.

- Copy generated mod_log_chat.beam file from the ebin directory to the
  directory where your ejabberd .beam files are.

- Edit the "modules" section of your ejabberd.cfg configuration file to
  suit your needs (see conf/ejabberd.conf.sample for examples).

- Be sure that the directories where you want to create your log
  files exists and are writable by you ejabberd user.

- Restart ejabberd.