Update very old installation instructions

This commit is contained in:
Badlop 2021-07-07 21:55:54 +02:00
parent c9084fae66
commit 0da3afbeeb
4 changed files with 5 additions and 36 deletions

View File

@ -21,10 +21,8 @@ To use an ejabberd module coming from this repository:
`CONTRIB_MODULES_PATH` setting in `ejabberdctl.cfg`. `CONTRIB_MODULES_PATH` setting in `ejabberdctl.cfg`.
- Edit the configuration file provided in the `conf` directory of the - Edit the configuration file provided in the `conf` directory of the
installed module and update it to your needs. Then apply the changes to installed module and update it to your needs. Or, if you prefer so,
your main ejabberd configuration. In a future release, ejabberd will configure it in your main ejabberd configuration file.
automatically add this file to its runtime configuration without
changes.
- Run `ejabberdctl module_uninstall <module>` to remove a module from - Run `ejabberdctl module_uninstall <module>` to remove a module from
ejabberd. ejabberd.

View File

@ -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. It can store messages in plain text or HTML format.
Compilation and installation Be sure that the directories where you want to create your log
----------------------------
- 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. files exists and are writable by you ejabberd user.
- Restart ejabberd.

View File

@ -17,17 +17,6 @@ Each vhost is logged in a different file.
Note: to log the failed authentication attempts, you need to patch ejabberd. 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 CONFIGURABLE PARAMETERS
----------------------- -----------------------

View File

@ -18,7 +18,6 @@ This module can also be used as a frontend to execute ejabberd commands.
CONFIGURATION CONFIGURATION
============= =============
To use this module, follow the general build instructions.
You can modify the default module configuration file like this: You can modify the default module configuration file like this:
To enable the module: To enable the module: