From e37723f4a2cc749424d41573a954af84a74a8ac4 Mon Sep 17 00:00:00 2001 From: Badlop Date: Mon, 18 Aug 2008 19:08:30 +0000 Subject: * src/mod_muc/mod_muc_log.erl: MUC log files options: plaintext format; filename with only room name (EJAB-596) * doc/guide.tex: Document both options * doc/guide.html: Likewise SVN Revision: 1531 --- doc/guide.html | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'doc/guide.html') diff --git a/doc/guide.html b/doc/guide.html index b944bdff0..f916476a0 100644 --- a/doc/guide.html +++ b/doc/guide.html @@ -2184,26 +2184,38 @@ file or if they need to use the embedded CSS file. Allowed values are include the embedded CSS code. With the latter, you can specify the URL of the custom CSS file (for example: ‘http://example.com/my.css’). The default value is false. +
dirname
+Allows to configure the name of the room directory. +Allowed values are room_jid and room_name. +With the first value, the room directory name will be the full room JID. +With the latter, the room directory name will be only the room name, +not including the MUC service name. +The default value is room_jid.
dirtype
The type of the created directories can be specified with this option. Allowed values are subdirs and plain. With the first value, subdirectories are created for each year and month. With the latter, the names of the log files contain the full date, and there are no subdirectories. The default value is subdirs. +
file_format
+Define the format of the log files: +html stores in HTML format, +plaintext stores in plain text. +The default value is html.
outdir
This option sets the full path to the directory in which the HTML files should be stored. Make sure the ejabberd daemon user has write access on that directory. The default value is "www/muc". -
timezone
-The time zone for the logs is configurable with this option. Allowed values -are local and universal. With the first value, the local time, -as reported to Erlang by the operating system, will be used. With the latter, -GMT/UTC time will be used. The default value is local.
spam_prevention
To prevent spam, the spam_prevention option adds a special attribute to links that prevent their indexation by search engines. The default value is true, which mean that nofollow attributes will be added to user submitted links. +
timezone
+The time zone for the logs is configurable with this option. Allowed values +are local and universal. With the first value, the local time, +as reported to Erlang by the operating system, will be used. With the latter, +GMT/UTC time will be used. The default value is local.
top_link
With this option you can customize the link on the top right corner of each log file. The syntax of this option is {"URL", "Text"}. The default @@ -2225,6 +2237,7 @@ time zone will be GMT/UTC. Finally, the top link will be {access_log, muc}, {cssfile, "http://example.com/my.css"}, {dirtype, plain}, + {dirname, room_jid}, {outdir, "/var/www/muclogs"}, {timezone, universal}, {spam_prevention, true}, -- cgit v1.2.3