View on
MetaCPAN
Сергей Засенко > JLogger > JLogger

Download:
JLogger-1.003.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.003   Source  

NAME ^

JLogger - jabber messages logger

DESCRIPTION ^

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.

SERVER CONFIGURATION ^

ejabberd

Edit ejabberd.cfg and add this line to the modules section:

    mod_service_log:
        loggers: ["jlogger.example.com"]

Add this to the listen section to make ejabberd listen for JLogger connections:

    -
        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

AUTHOR ^

Sergey Zasenko

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: