
Fix logging of debug, info and warning levels. Also configuration parameter VERBOSE is working again. fixes problems: * VERBOSE parameter can be changed at runtime * Initial log level was unset, then there was nothing logged lower than exception level. (for example configuration dump was not logged) * Initial VERBOSE was set to True, then it was too much verbose. And this flag was mean to be used for debugging problems. NOTE: real log level is driven by collectd configuration, not by plugin config. Change-Id: Ia7048ccb74f27a5d5885b9c0bda17d6fba603e9b Closes-Bug: #1664973
20 lines
603 B
Bash
20 lines
603 B
Bash
# -*- mode: sh -*-
|
|
|
|
[[local|localrc]]
|
|
ADMIN_PASSWORD="secret"
|
|
DATABASE_PASSWORD="$ADMIN_PASSWORD"
|
|
RABBIT_PASSWORD="$ADMIN_PASSWORD"
|
|
SERVICE_PASSWORD="$ADMIN_PASSWORD"
|
|
|
|
# Setup only required services
|
|
disable_all_services
|
|
enable_service "mysql" "rabbitmq" "dstat" "keystone"
|
|
|
|
# Setup ceilometer
|
|
enable_plugin "ceilometer" "${GIT_BASE:-https://git.openstack.org}/openstack/ceilometer.git"
|
|
|
|
# Setup collectd-ceilometer plugin
|
|
COLLECTD_INSTALL=True
|
|
COLLECTD_CEILOMETER_VERBOSE=False
|
|
enable_plugin "collectd-ceilometer-plugin" "${GIT_BASE:-https://git.openstack.org}/openstack/collectd-ceilometer-plugin.git"
|