aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaneyon Hansen <danehans@cisco.com>2015-04-01 18:38:46 +0000
committerDaneyon Hansen <danehans@cisco.com>2015-04-07 19:13:29 +0000
commit0b671ad58d31dc3c3704a35a9ef0c17af0834e72 (patch)
tree726964e5a0810383b908c0413943702a998e916d /docs
parent5ea37557cf1d5600e0bb141e010a4bcdbd967162 (diff)
downloadkolla-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 'docs')
-rw-r--r--docs/integration-guide.md12
-rw-r--r--docs/minimal-environment-vars.md15
2 files changed, 27 insertions, 0 deletions
diff --git a/docs/integration-guide.md b/docs/integration-guide.md
index 9a06a57ed..409c47207 100644
--- a/docs/integration-guide.md
+++ b/docs/integration-guide.md
@@ -41,6 +41,18 @@ all containers. This allows a simple method of ensuring every type of node
### Environment Variable KEY/VALUE pairs
+ DEBUG_LOGGING=<true|false> - Defaults to false. Enable/disable debug level logging for all OpenStack services.
+ VERBOSE_LOGGING=<true|false> - Defaults to true. Enable/disable verbose level logging for all OpenStack services.
+ NOVA_LOG_DIR=<none> - Defaults to none. The base directory used for relative Nova --log-file paths.
+ NEUTRON_LOG_DIR<none> - Defaults to none. The base directory used for relative Neutron --log-file paths.
+ NOVA_API_LOG_FILE=<none> Defaults to none. Name of Nova API log file to output to. If no default is set, logging will go to stdout.
+ NOVA_CONDUCTOR_LOG_FILE=<none> Defaults to none. Name of Nova Conductor log file to output to. If no default is set, logging will go to stdout.
+ NOVA_SCHEDULER_LOG_FILE=<none> Defaults to none. Name of Nova Scheduler log file to output to. If no default is set, logging will go to stdout.
+ NOVA_COMPUTE_LOG_FILE=<none> Defaults to none. Name of Nova Compute log file to output to. If no default is set, logging will go to stdout.
+ NEUTRON_SERVER_LOG_FILE=<none> Defaults to none. Name of Neutron Server log file to output to. If no default is set, logging will go to stdout.
+ NEUTRON_L3_AGENT_LOG_FILE=<none> Defaults to none. Name of Neutron L3 Agent log file to output to. If no default is set, logging will go to stdout.
+ NEUTRON_LINUXBRIDGE_AGENT_LOG_FILE=<none> Defaults to none. Name of Neutron Linux Bridge Agent log file to output to. If no default is set, logging will go to stdout.
+ NEUTRON_METADATA_AGENT_LOG_FILE=<none> Defaults to none. Name of Neutron Metadata Agent log file to output to. If no default is set, logging will go to stdout.
ADMIN_USER_PASSWORD=<steakfordinner> - The admin user password
ADMIN_TENANT_NAME=<admin> - tenant name
FLAT_INTERFACE=<eth1> - nova networking flat interface device name
diff --git a/docs/minimal-environment-vars.md b/docs/minimal-environment-vars.md
index f610f6cc3..713507f79 100644
--- a/docs/minimal-environment-vars.md
+++ b/docs/minimal-environment-vars.md
@@ -2,6 +2,21 @@
In order for each service to function, there is a minimum set of required variables that need to be plugged into the environment. Below is the list of variables that is needed for each service to run in a minimal setting.
+# Logging
+
+ DEBUG_LOGGING
+ VERBOSE_LOGGING
+ 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
+
# Mariadb
MARIADB_SERVICE_HOST