Syslog your ejabberd
Erlang Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 3 commits ahead of athoune:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
README.md
Rakefile

README.md

Syslog for Ejabberd

mod_syslog is a simple ejabberd's module wich listen events and send them to syslogd.

erlang_syslog is the erlang application used for syslogd communication.

Build

The Rakefile is hardcoded for macbrew's ejabberd. I'll fix that later.

Config

in ejabberd.cfg, in the modules section

 {mod_syslog, [
	{syslog, {"localhost", 514, user}},
	{modules, [presence, connection, muc]}
	]},

For syslog, you choose a server, a port, and a facility.

For modules, you choose wich events are watched. For now, you can't watch muc events.

Licence

MIT 2011, © Mathieu Lecarme