diff options
| author | Daneyon Hansen <danehans@cisco.com> | 2015-04-01 18:38:46 +0000 |
|---|---|---|
| committer | Daneyon Hansen <danehans@cisco.com> | 2015-04-07 19:13:29 +0000 |
| commit | 0b671ad58d31dc3c3704a35a9ef0c17af0834e72 (patch) | |
| tree | 726964e5a0810383b908c0413943702a998e916d /docker/nova-controller/nova-scheduler | |
| parent | 5ea37557cf1d5600e0bb141e010a4bcdbd967162 (diff) | |
| download | kolla-0b671ad58d31dc3c3704a35a9ef0c17af0834e72.tar.gz kolla-0b671ad58d31dc3c3704a35a9ef0c17af0834e72.zip | |
Adds Initial Logging Support
Previously, logging was hard coded into the nova and neutron
containers. This patch creates two common params for logging:
DEBUG_LOGGING
VERBOSE_LOGGING
and sets default values of verbose=true and debug=false. This patch
implements logging for Nova and Neutron. Add'l OS service config
scripts and images will need to be updated to use the logging
params.
Change-Id: I03d48005d5b4789aa3c519879a20d963ef1cbaa3
Diffstat (limited to 'docker/nova-controller/nova-scheduler')
| -rwxr-xr-x | docker/nova-controller/nova-scheduler/start.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docker/nova-controller/nova-scheduler/start.sh b/docker/nova-controller/nova-scheduler/start.sh index 087d477fe..5be5e4e80 100755 --- a/docker/nova-controller/nova-scheduler/start.sh +++ b/docker/nova-controller/nova-scheduler/start.sh @@ -4,7 +4,12 @@ set -e . /opt/kolla/config-nova.sh -check_required_vars NOVA_DB_NAME +check_required_vars NOVA_DB_NAME NOVA_SCHEDULER_LOG_FILE fail_unless_db $NOVA_DB_NAME +cfg=/etc/nova/nova.conf + +# configure logging +crudini --set $cfg DEFAULT log_file "${NOVA_SCHEDULER_LOG_FILE}" + exec /usr/bin/nova-scheduler |
