No description or website provided.
Erlang
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
include
src
.gitignore
Makefile
README.md
rebar
rebar.config

README.md

esyslog: Simple interface to syslog

Sample configuration

[
    {esyslog, [
        {server, {127, 0, 0, 1}},
        {port, 514}
    ]}
].

Sample syslog-ng configuration

destination d_mylog {
    file("/var/log/my.log");
};

source s_net {
    udp();
};

log {
    source(s_net);
    destination(d_mylog);
};

Sample rsyslog configuration

$ModLoad imudp
$UDPServerRun 514

if $programname == 'YOUR_PROGRAM' then /var/log/your_program.log

LICENSE

Some code was taken from https://github.com/lemenkov/erlsyslog