ejabberd-contrib/mod_message_log
Badlop e76b0877d6 Add mod_status/0 to show its current status in WebAdmin 2022-07-26 15:41:23 +02:00
..
conf Enable some modules when installed, if they work with reasonable default config 2022-07-26 15:41:21 +02:00
src Add mod_status/0 to show its current status in WebAdmin 2022-07-26 15:41:23 +02:00
COPYING Add mod_message_log module 2014-05-27 00:57:06 +02:00
README.txt Support 'auto' value in log options, set as default 2022-07-26 15:41:19 +02:00
mod_message_log.spec Cleanup for module packaging support in ejabberd 2015-03-11 14:19:35 +01:00

README.txt

	mod_message_log - Log one line per message transmission

	Author: Holger Weiss <holger@zedat.fu-berlin.de>


	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"

If the filename option is set to 'auto', it will be set to
the default ejabberd log path, with the file name "message.log".
The filename option takes as default value 'auto'.