An open API service indexing awesome lists of open source software.

https://github.com/ates/esyslog


https://github.com/ates/esyslog

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

          

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