Skip to content

Instantly share code, notes, and snippets.

@krams915
Created October 8, 2011 06:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krams915/1271954 to your computer and use it in GitHub Desktop.
Save krams915/1271954 to your computer and use it in GitHub Desktop.
rsyslog.conf
# Custom log facilities for haproxy
local0.* /var/log/haproxy0a.log
local1.* /var/log/haproxy1a.log
$ModLoad imudp
# load the imudp module for rsyslog
# provides UDP syslog reception
# start UDP server on this port, "*" means all addresses
$UDPServerRun 514
# local IP address (or name) the UDP listens should bind to
$UDPServerAddress 127.0.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment