From b9c94870fa1da99450ca5db4c716ee192600f99a Mon Sep 17 00:00:00 2001 From: boyska Date: Fri, 26 Apr 2019 01:11:01 +0200 Subject: [PATCH] FIX #20 doc integration with rsyslog works perfectly! --- docs/docs/install.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/docs/install.md b/docs/docs/install.md index 6d2f75a..ac0c4f5 100644 --- a/docs/docs/install.md +++ b/docs/docs/install.md @@ -27,6 +27,26 @@ endless, we tried to document some common setups. #### Use Case: circologd receiving messages from syslog-ng +#### Use Case: circologd receiving messages from rsyslog + +rsyslogd can easily be configured to send every message to circolog: + +``` +$ModLoad omuxsock +$OMUxSockSocket /tmp/circolog.sock +*.* :omuxsock: +``` + +If you want to force messages of level `debug` and `info` not to be logged to disk, you can put this snippet +at the **top** of the rules + +``` +$ModLoad omuxsock +$OMUxSockSocket /tmp/circolog.sock +*.* :omuxsock: +*.=debug;*.=info stop +``` + #### Use Case: circologd receiving messages from journald [TODO: il codice va ancora scritto: bisogna bindare /run/systemd/journal/syslog