You've already forked haproxy-wi
mirror of
https://github.com/roxy-wi/roxy-wi.git
synced 2025-12-12 11:44:04 +08:00
17 lines
484 B
Django/Jinja
17 lines
484 B
Django/Jinja
$ModLoad imudp
|
|
$UDPServerAddress 127.0.0.1
|
|
$UDPServerRun 514
|
|
module(load="builtin:omfile")
|
|
|
|
if $programname startswith 'Keepalived_vrrp' then {
|
|
if $syslogseverity == 6 then
|
|
action(type="omfile" file="{{keepalived_path_logs}}/status.log")
|
|
stop
|
|
if $syslogseverity <= 3 then
|
|
action(type="omfile" file="{{keepalived_path_logs}}/error.log")
|
|
stop
|
|
if $syslogseverity <= 5 then
|
|
action(type="omfile" file="{{keepalived_path_logs}}/status.log")
|
|
stop
|
|
}
|