openstacksdk/openstack/tests/unit
Monty Taylor da2406bace
Rationalize logging helpers and docs
shade and openstacksdk each have a logging doc and a logging setup helper
function. They both basically do the same thing, and we have a TODO item
about collapsing them.

This moves openstack.utils.enable_logging to openstack.enable_logging
(leaving behind a compat piece at openstack.utils.enable_logging) It
adds the shade functionality to it, and also changes the behavior to
match shade's WRT behavior when no parameters are passed (defaults to
logging to stdout)

Update the codebase to call openstack._log.setup_logging instead of
logging.getLogger directly, as setup_logging attaches a NullHandler by
default.

Collapse the docs into a single document.

There were only two places where openstacksdk was already logging to
something other than 'openstack'. Collapse those down to 'openstack'
until we come up with a reason to break them out more logically.

Change-Id: I45fd5ffd18255450d38a1f56c80f5c157ea19ae3
2018-01-16 14:46:44 -06:00
..
baremetal Change update/create method options 2018-01-15 19:19:37 -06:00
block_storage Adds support to retrieve cinder backend pools information 2017-11-26 15:00:03 -06:00
block_store/v2 Adds support to retrieve cinder backend pools information 2017-11-26 15:00:03 -06:00
cloud Port wait_for_ methods to use iterate_timeout 2018-01-09 12:00:54 -06:00
cluster Change update/create method options 2018-01-15 19:19:37 -06:00
compute Rework config and rest layers 2017-11-15 11:46:50 -06:00
config Remove legacy client factory functions 2018-01-09 16:35:46 -06:00
database Rework config and rest layers 2017-11-15 11:46:50 -06:00
fixtures Handle glance image pagination links better 2017-11-15 09:04:00 -06:00
identity Change update/create method options 2018-01-15 19:19:37 -06:00
image Rationalize logging helpers and docs 2018-01-16 14:46:44 -06:00
key_manager Rework config and rest layers 2017-11-15 11:46:50 -06:00
load_balancer Re-enable octavia functional tests 2018-01-11 21:14:39 +00:00
message Rework config and rest layers 2017-11-15 11:46:50 -06:00
meter Prefer links dicts for pagination 2018-01-09 14:25:43 -06:00
metric Port metric v1 to resource2 2017-04-27 12:50:52 -04:00
network Merge "Prefer links dicts for pagination" 2018-01-12 18:41:42 +00:00
object_store Rework config and rest layers 2017-11-15 11:46:50 -06:00
orchestration Rework config and rest layers 2017-11-15 11:46:50 -06:00
workflow Merge "Add workflow service (mistral)" 2017-01-24 16:45:12 +00:00
__init__.py Make way for the functional tests 2015-03-31 17:07:47 -05:00
base.py Rename CloudConfig to CloudRegion 2018-01-09 11:56:04 -06:00
fakes.py Make way for the functional tests 2015-03-31 17:07:47 -05:00
test__adapter.py Move task_manager and adapter up a level from cloud 2017-11-15 11:56:28 -06:00
test_connection.py Add function to make CloudRegion from session 2018-01-09 12:00:49 -06:00
test_exceptions.py Rework config and rest layers 2017-11-15 11:46:50 -06:00
test_format.py Remove type=timestamp usages 2016-06-08 16:17:48 -04:00
test_proxy.py Rework config and rest layers 2017-11-15 11:46:50 -06:00
test_proxy2.py Rework config and rest layers 2017-11-15 11:46:50 -06:00
test_proxy_base.py Rework config and rest layers 2017-11-15 11:46:50 -06:00
test_proxy_base2.py Rework config and rest layers 2017-11-15 11:46:50 -06:00
test_resource.py Change update/create method options 2018-01-15 19:19:37 -06:00
test_resource2.py Change update/create method options 2018-01-15 19:19:37 -06:00
test_service_filter.py Get endpoints directly from services 2016-08-10 08:02:21 -04:00
test_utils.py Rationalize logging helpers and docs 2018-01-16 14:46:44 -06:00