Update very old installation instructions
This commit is contained in:
parent
c9084fae66
commit
0da3afbeeb
|
@ -21,10 +21,8 @@ To use an ejabberd module coming from this repository:
|
|||
`CONTRIB_MODULES_PATH` setting in `ejabberdctl.cfg`.
|
||||
|
||||
- Edit the configuration file provided in the `conf` directory of the
|
||||
installed module and update it to your needs. Then apply the changes to
|
||||
your main ejabberd configuration. In a future release, ejabberd will
|
||||
automatically add this file to its runtime configuration without
|
||||
changes.
|
||||
installed module and update it to your needs. Or, if you prefer so,
|
||||
configure it in your main ejabberd configuration file.
|
||||
|
||||
- Run `ejabberdctl module_uninstall <module>` to remove a module from
|
||||
ejabberd.
|
||||
|
|
|
@ -7,22 +7,5 @@ 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.
|
||||
Be sure that the directories where you want to create your log
|
||||
files exists and are writable by you ejabberd user.
|
||||
|
|
|
@ -17,21 +17,10 @@ Each vhost is logged in a different file.
|
|||
Note: to log the failed authentication attempts, you need to patch ejabberd.
|
||||
|
||||
|
||||
INSTALL
|
||||
-------
|
||||
|
||||
1 Copy this file to ejabberd/src/mod_logsession.erl
|
||||
2 Recompile ejabberd
|
||||
3 Add to ejabberd.yml, 'modules' section the basic configuration:
|
||||
mod_logsession: {}
|
||||
4 With this configuration, the log files are:
|
||||
/tmp/ejabberd_logsession_@HOST@.log
|
||||
|
||||
|
||||
CONFIGURABLE PARAMETERS
|
||||
-----------------------
|
||||
|
||||
sessionlog:
|
||||
sessionlog:
|
||||
Define the name of log files.
|
||||
The keyword @HOST@ will be substituted with the name of each vhost.
|
||||
Default value: "/tmp/ejabberd_logsession_@HOST@.log"
|
||||
|
|
|
@ -18,7 +18,6 @@ This module can also be used as a frontend to execute ejabberd commands.
|
|||
CONFIGURATION
|
||||
=============
|
||||
|
||||
To use this module, follow the general build instructions.
|
||||
You can modify the default module configuration file like this:
|
||||
|
||||
To enable the module:
|
||||
|
|
Loading…
Reference in New Issue