ejabberd-contrib/mod_message_log
Holger Weiss 0dfb0b9c6b mod_message_log: Ignore "empty" carbon copies
Just as we ignore regular messages that don't include a non-empty
<body/>, we now ignore carbon copies of such messages.
2014-11-06 00:56:55 +01:00
..
ebin Add mod_message_log module 2014-05-27 00:57:06 +02:00
src mod_message_log: Ignore "empty" carbon copies 2014-11-06 00:56:55 +01:00
COPYING Add mod_message_log module 2014-05-27 00:57:06 +02:00
Emakefile Add mod_message_log module 2014-05-27 00:57:06 +02:00
README.txt Add mod_message_log module 2014-05-27 00:57:06 +02:00
build.bat Add mod_message_log module 2014-05-27 00:57:06 +02:00
build.sh Add mod_message_log module 2014-05-27 00:57:06 +02:00

README.txt

	mod_message_log - Log one line per message transmission

	Author: Holger Weiss <holger@zedat.fu-berlin.de>
	Requirements: ejabberd 13.x or newer


	DESCRIPTION
	-----------

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.  The log lines look similar to this one:

  2014-05-25 11:55:04 [outgoing, normal] dan@example.com/Foo -> eve@example.net/Bar

After log rotation, you can execute the following command in order to tell
mod_message_log to reopen the log file:

  ejabberdctl reopen_log


	CONFIGURATION
	-------------

In order to use this module, add the following lines to the modules section
of your ejabberd.yml file:

  mod_message_log:
    filename: "/path/to/ejabberd-message.log"