dcdbsync for containerized openstack services - logging
This updates syslog-ng configuration for logging of openstack dcdbsync instance. Story: 2004766 Task: 36097 Change-Id: If72df22b9200445f95a6894df73fad1cfffa7944 Signed-off-by: Andy Ning <andy.ning@windriver.com>
This commit is contained in:
parent
853388e615
commit
5ec956fff5
@ -1,2 +1,2 @@
|
||||
SRC_DIR="files"
|
||||
TIS_PATCH_VER=4
|
||||
TIS_PATCH_VER=5
|
||||
|
@ -147,7 +147,7 @@ destination d_sysinvapi { file("/var/log/sysinv-api.log" template(t_openstack) p
|
||||
destination d_dcmanager { file("/var/log/dcmanager/dcmanager.log" template(t_openstack)); };
|
||||
destination d_dcorch { file("/var/log/dcorch/dcorch.log" template(t_openstack)); };
|
||||
destination d_dcdbsync { file("/var/log/dcdbsync/dcdbsync.log" template(t_openstack)); };
|
||||
|
||||
destination d_dcdbsync_openstack { file("/var/log/dcdbsync/dcdbsync_openstack.log" template(t_openstack)); };
|
||||
|
||||
# Openstack Log destinations
|
||||
destination d_horizon { file("/var/log/horizon.log" template(t_openstack) perm(0640)); };
|
||||
@ -319,6 +319,7 @@ filter f_dcorchsnmp { facility(local2) and program(dcorch-snmp); };
|
||||
filter f_dcorchapiproxy { facility(local2) and program(dcorch-api-proxy); };
|
||||
|
||||
filter f_dcdbsyncapi { facility(local2) and program(dcdbsync-api); };
|
||||
filter f_dcdbsyncopenstackapi { facility(local3) and program(dcdbsync-api); };
|
||||
|
||||
# Openstack Log Filters
|
||||
filter f_horizon { facility(local7) };
|
||||
@ -402,6 +403,7 @@ log {source(s_src); filter(f_dcorchengine); destination(d_dcorch); };
|
||||
log {source(s_src); filter(f_dcorchsnmp); destination(d_dcorch); };
|
||||
log {source(s_src); filter(f_dcorchapiproxy); destination(d_dcorch); };
|
||||
log {source(s_src); filter(f_dcdbsyncapi); destination(d_dcdbsync); };
|
||||
log {source(s_src); filter(f_dcdbsyncopenstackapi); destination(d_dcdbsync_openstack); };
|
||||
|
||||
# Openstack Log Paths
|
||||
log { source(s_src); filter(f_horizon); destination(d_horizon); };
|
||||
|
Loading…
Reference in New Issue
Block a user