Skydive: enable logging in file

Change-Id: I24f040b686b4dd24b26fc5c5fc5bd5e7ef8a4e70
Depends-on: I464cb4700ca143c1dbac3c20f7402ddb8cda7ce7
This commit is contained in:
Mathieu Rohon 2017-08-03 17:25:51 +02:00
parent f21d954179
commit ae4ab21157
5 changed files with 17 additions and 6 deletions

View File

@ -136,6 +136,7 @@
- { name: "sahara", enabled: "{{ enable_sahara }}" } - { name: "sahara", enabled: "{{ enable_sahara }}" }
- { name: "searchlight", enabled: "{{ enable_searchlight }}" } - { name: "searchlight", enabled: "{{ enable_searchlight }}" }
- { name: "senlin", enabled: "{{ enable_senlin }}" } - { name: "senlin", enabled: "{{ enable_senlin }}" }
- { name: "skydive", enabled: "{{ enable_skydive }}" }
- { name: "solum", enabled: "{{ enable_solum }}" } - { name: "solum", enabled: "{{ enable_solum }}" }
- { name: "swift", enabled: "{{ enable_swift }}" } - { name: "swift", enabled: "{{ enable_swift }}" }
- { name: "tacker", enabled: "{{ enable_tacker }}" } - { name: "tacker", enabled: "{{ enable_tacker }}" }

View File

@ -0,0 +1,3 @@
"/var/log/kolla/skydive/*.log"
{
}

View File

@ -44,6 +44,7 @@
( 'sahara', enable_sahara ), ( 'sahara', enable_sahara ),
( 'searchlight', enable_searchlight ), ( 'searchlight', enable_searchlight ),
( 'senlin', enable_senlin ), ( 'senlin', enable_senlin ),
( 'skydive', enable_skydive ),
( 'solum', enable_solum ), ( 'solum', enable_solum ),
( 'swift', enable_swift ), ( 'swift', enable_swift ),
( 'tacker', enable_tacker ), ( 'tacker', enable_tacker ),

View File

@ -6,9 +6,12 @@ auth:
analyzer_password: {{ openstack_auth['password'] }} analyzer_password: {{ openstack_auth['password'] }}
logging: logging:
default: DEBUG level: INFO
topology/probes: INFO backends:
topology/graph: INFO - stderr
- file
file:
path: /var/log/kolla/skydive/skydive-agent.log
openstack: openstack:
auth_url: {{ keystone_public_url }}/v3 auth_url: {{ keystone_public_url }}/v3

View File

@ -4,9 +4,12 @@ auth:
type: keystone type: keystone
logging: logging:
default: DEBUG level: INFO
topology/probes: INFO backends:
topology/graph: INFO - stderr
- file
file:
path: /var/log/kolla/skydive/skydive-analyzer.log
openstack: openstack:
auth_url: {{ keystone_public_url }}/v3 auth_url: {{ keystone_public_url }}/v3