From 0b671ad58d31dc3c3704a35a9ef0c17af0834e72 Mon Sep 17 00:00:00 2001 From: Daneyon Hansen Date: Wed, 1 Apr 2015 18:38:46 +0000 Subject: 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 --- tools/genenv | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'tools') diff --git a/tools/genenv b/tools/genenv index 5484cb8f7..bb349b5b0 100755 --- a/tools/genenv +++ b/tools/genenv @@ -31,6 +31,20 @@ PASSWORD=12345 ADMIN_TENANT_NAME=admin PUBLIC_IP=$HOST_IP +# Logging +DEBUG_LOGGING=false +VERBOSE_LOGGING=true +NOVA_LOG_DIR= +NEUTRON_LOG_DIR= +NOVA_API_LOG_FILE= +NOVA_CONDUCTOR_LOG_FILE= +NOVA_SCHEDULER_LOG_FILE= +NOVA_COMPUTE_LOG_FILE= +NEUTRON_SERVER_LOG_FILE= +NEUTRON_L3_AGENT_LOG_FILE= +NEUTRON_LINUXBRIDGE_AGENT_LOG_FILE= +NEUTRON_METADATA_AGENT_LOG_FILE= + # RabbitMQ RABBITMQ_SERVICE_HOST=$HOST_IP RABBIT_USER=guest @@ -86,6 +100,18 @@ export OS_TENANT_NAME=$ADMIN_TENANT_NAME EOF cat > ./compose/openstack.env <