Merge "Fix rsyslog facility config for Octavia amphora-agent"

This commit is contained in:
Zuul 2020-12-23 05:05:16 +00:00 committed by Gerrit Code Review
commit 4f7fbf62c2
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ if ($inputname == "imudp" and $syslogfacility-text == "local0" and $syslogseveri
} }
# Output the amphora administrative logs # Output the amphora administrative logs
if ($inputname == "imudp" and $syslogfacility-text == "local1" and $hostname startswith "amphora") then { if ($inputname == "imudp" and $syslogfacility-text != "local0" and $hostname startswith "amphora") then {
action(type="omfile" FileCreateMode="0644" File="/var/log/octavia/octavia-amphora.log") action(type="omfile" FileCreateMode="0644" File="/var/log/octavia/octavia-amphora.log")
stop stop
} }