summaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorSergey Vilgelm <sergey@vilgelm.info>2015-07-20 22:28:11 +0300
committerSergey Vilgelm <sergey@vilgelm.info>2015-07-23 19:31:58 +0300
commit19862628e43296686344a1dff5db495638a1a995 (patch)
tree02219b63cfcb2a9c8a890108d4db317ebc111a70 /run_tests.py
parenteed54dbf0cc2c1e65617d4047e7e41bcdf1fc855 (diff)
downloadtrove-19862628e43296686344a1dff5db495638a1a995.tar.gz
Switch to the oslo_log library
Remove the log module of oslo-incubator. Move the WritableLogger wrapper to the base_wsgi module. Add oslo.log to the requirements. Change-Id: I724fa6090cebf40e7d7c78cc6b8458dfba9508a8
Diffstat (limited to 'run_tests.py')
-rw-r--r--run_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/run_tests.py b/run_tests.py
index 7b89a8e1..a5cb80d0 100644
--- a/run_tests.py
+++ b/run_tests.py
@@ -24,6 +24,7 @@ import traceback
import urllib
import eventlet
+from oslo_log import log as logging
import proboscis
import wsgi_intercept
from wsgi_intercept.httplib2_intercept import install as wsgi_install
@@ -32,7 +33,6 @@ from trove.common import cfg
from trove.common.rpc import service as rpc_service
from trove.common.rpc import version as rpc_version
from trove.common import utils
-from trove.openstack.common import log as logging
from trove import rpc
from trove.tests.config import CONFIG
@@ -64,7 +64,7 @@ def initialize_trove(config_file):
cfg.CONF(args=[],
project='trove',
default_config_files=[config_file])
- logging.setup(None)
+ logging.setup(CONF, None)
topic = CONF.taskmanager_queue
rpc.init(CONF)