Enable debug log level in DevStack

This commit makes [DEFAULT]debug dependent on ENABLE_DEBUG_LOG_LEVEL
DevStack option. This is standard way other projects are setting it and
will make gate debugging easier.

Change-Id: I148282eb7791ef9fc9e7a12b9e510a3e3c555cea
This commit is contained in:
Michał Dulko 2017-11-24 10:09:55 +01:00
parent 053b9425b1
commit 94f505927b
1 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,8 @@ function configure_kuryr {
# daemon-based CNI driver is implemented, this could be removed.
iniset "$KURYR_CONFIG" DEFAULT use_stderr true
iniset "$KURYR_CONFIG" DEFAULT debug "$ENABLE_DEBUG_LOG_LEVEL"
iniset "$KURYR_CONFIG" kubernetes port_debug "$KURYR_PORT_DEBUG"
if is_service_enabled kuryr-daemon; then