Merge "Fix rsyslog facility config for Octavia amphora-agent"
This commit is contained in:
commit
4f7fbf62c2
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue