Created
June 11, 2010 00:35
-
-
Save natacado/433871 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$template PerHostHaProxy,"<%= @log_dir %>/%$YEAR%/%$MONTH%/%$DAY%/%HOSTNAME%/haproxy.log" | |
$template PerHostHaProxyErr,"<%= @log_dir %>/%$YEAR%/%$MONTH%/%$DAY%/%HOSTNAME%/haproxy-error.log" | |
# Support HAProxy logging on local0 | |
# Suppress the logs from showing up in PerHostMessages | |
:progname, isequal, "haproxy" | |
local0.err ?PerHostHaProxyErr | |
local0.* ?PerHostHaProxy | |
& ~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment