change logging defaults

This commit is contained in:
Arne Teuke
2025-02-14 13:18:22 +01:00
parent 1f2fd48a66
commit 9e353bebff
2 changed files with 4 additions and 4 deletions

View File

@@ -99,8 +99,8 @@ $hy_user_home = '/var/lib/haproxy',
$hy_user_shell = '/sbin/nologin',
# logging
$hy_log_local0 = true,
$hy_log_local1 = true,
$hy_log_local0 = '/dev/log local0',
$hy_log_local1 = '/dev/log local1 notice',
$hy_log_target = '127.0.0.1',
$hy_log_facility = 'local2',
$hy_log_default = 'global',

View File

@@ -3,8 +3,8 @@
###############################################################################
global
log /dev/log local0
log /dev/log local1 notice
log <%= @hy_log_local0 %>
log <%= @hy_log_local1 %>
<% if @hy_hard_stop == true -%>
hard-stop-after <%= @hy_hard_stop_value %>
<% end -%>