JLogger - jabber messages logger
JLogger is a highly customizable jabber transport for logging messages passed over jabber server. It has different kind of filters and possibilities to save captured messages.
Edit ejabberd.cfg and add this line to the modules section:
modules
mod_service_log: loggers: ["jlogger.example.com"]
Add this to the listen section to make ejabberd listen for JLogger connections:
listen
- port: 5526 module: ejabberd_service ip: "127.0.0.1" access: all hosts: "jlogger.example.com": password: "secret"
You may find simple configuration in config.yaml.example. To log messages on old ejabberd < 17.04 server please use transport JLogger::Transport::AnyEvent instead of JLogger::Transport::AnyEvent::XEP0297
JLogger::Transport::AnyEvent
JLogger::Transport::AnyEvent::XEP0297
Sergey Zasenko
Copyright (C) 2011-2017, Sergey Zasenko.
This program is free software, you can redistribute it and/or modify it under the same terms as Perl 5.10.
To install JLogger, copy and paste the appropriate command in to your terminal.
cpanm
cpanm JLogger
CPAN shell
perl -MCPAN -e shell install JLogger
For more information on module installation, please visit the detailed CPAN module installation guide.