b7f31ee6b6
Replace dl_hook with "src_path" and moves the 'files' folder outside of the 'centos' directory. Test Plan: 1. PASS - Successfully build distributedcloud package 2. PASS - Build an image and install it, checking if it includes the latest distributedcloud package. 3. PASS - Modify a source file, do a second subsequent build without using the clean option, install the image and verify that the build picks up the most recent .deb file by checking if the modification is present on the source file. Story: 2010512 Task: 47108 Signed-off-by: Gustavo Herzmann <gustavo.herzmann@windriver.com> Change-Id: I0f82689298e203e3655ec47cb1ab7683f440908a
35 lines
2.3 KiB
Plaintext
35 lines
2.3 KiB
Plaintext
# Distributed Cloud Log destination
|
|
destination d_dcmanager { file("/var/log/dcmanager/dcmanager.log" template(t_preformatted)); };
|
|
destination d_dcmanager_api { file("/var/log/dcmanager/dcmanager-api.log" template(t_preformatted)); };
|
|
destination d_dcmanager_audit { file("/var/log/dcmanager/audit.log" template(t_preformatted)); };
|
|
destination d_dcmanager_state { file("/var/log/dcmanager/state.log" template(t_preformatted)); };
|
|
destination d_dcmanager_orch { file("/var/log/dcmanager/orchestrator.log" template(t_preformatted)); };
|
|
destination d_dcorch { file("/var/log/dcorch/dcorch.log" template(t_preformatted)); };
|
|
destination d_dcdbsync { file("/var/log/dcdbsync/dcdbsync.log" template(t_preformatted)); };
|
|
destination d_dcdbsync_openstack { file("/var/log/dcdbsync/dcdbsync_openstack.log" template(t_preformatted)); };
|
|
|
|
# Distributed Cloud Log Filters
|
|
filter f_dcmanagermanager { facility(local4) and program(dcmanager-manager); };
|
|
filter f_dcmanageraudit { facility(local4) and program(dcmanager-audit); };
|
|
filter f_dcmanagerstate { facility(local4) and program(dcmanager-state); };
|
|
filter f_dcmanagerorchestrator { facility(local4) and program(dcmanager-orchestrator); };
|
|
filter f_dcmanagerapi { facility(local4) and program(dcmanager-api); };
|
|
|
|
filter f_dcorchengine { facility(local4) and program(dcorch-engine); };
|
|
filter f_dcorchapiproxy { facility(local4) and program(dcorch-api-proxy); };
|
|
|
|
filter f_dcdbsyncapi { facility(local4) and program(dcdbsync-api); };
|
|
filter f_dcdbsyncopenstackapi { facility(local4) and program(dcdbsync-api); };
|
|
|
|
# Distributed Cloud Log Path
|
|
log {source(s_src); filter(f_dcmanagermanager); destination(d_dcmanager); };
|
|
log {source(s_src); filter(f_dcmanageraudit); destination(d_dcmanager_audit); };
|
|
log {source(s_src); filter(f_dcmanagerstate); destination(d_dcmanager_state); };
|
|
log {source(s_src); filter(f_dcmanagerorchestrator); destination(d_dcmanager_orch); };
|
|
log {source(s_src); filter(f_dcmanagerapi); destination(d_dcmanager_api); };
|
|
log {source(s_src); filter(f_dcorchengine); 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); };
|
|
|