https://github.com/ates/esyslog
https://github.com/ates/esyslog
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ates/esyslog
- Owner: ates
- Created: 2013-02-28T11:10:47.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-03-12T10:41:22.000Z (over 13 years ago)
- Last Synced: 2025-01-15T13:10:36.906Z (over 1 year ago)
- Language: Erlang
- Size: 248 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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