Merge "Revert "SM service logs are being duplicated into postgres.log""

This commit is contained in:
Zuul 2024-10-25 14:57:52 +00:00 committed by Gerrit Code Review
commit 0644d3f9fa

View File

@ -119,6 +119,7 @@ destination d_uucp { file("/var/log/uucp.log"); };
destination d_postgres { file("/var/log/postgres.log"); };
destination d_platform { file("/var/log/platform.log"); };
destination d_openstack { file("/var/log/openstack.log" template(t_openstack)); };
destination d_sm { file("/var/log/sm.log"); };
# HAProxy Log destination
destination d_haproxy { file("/var/log/haproxy.log"); };
@ -270,7 +271,7 @@ filter f_local2 { facility(local2)
and not program(fm)
and not filter(f_keystoneall)
and not filter(f_keystoneapi) };
# Facility code local3 is assigned to Service Management
filter f_local3 { facility(local3); };
filter f_local5 { facility(local5); };
filter f_local6 { facility(local6); };
filter f_local7 { facility(local7); };
@ -333,6 +334,7 @@ log { source(s_src); filter(f_uucp); destination(d_uucp); };
log { source(s_src); filter(f_local0); destination(d_postgres); };
log { source(s_src); filter(f_local1); destination(d_platform); };
log { source(s_src); filter(f_local2); destination(d_openstack); };
log { source(s_src); filter(f_local3); destination(d_sm); };
# HAProxy Log Path
log { source(s_udp); filter(f_local1); destination(d_haproxy); };