summaryrefslogtreecommitdiff
path: root/trove/quota
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 /trove/quota
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 'trove/quota')
-rw-r--r--trove/quota/models.py3
-rw-r--r--trove/quota/quota.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/trove/quota/models.py b/trove/quota/models.py
index 571c31f1..d6bfacc9 100644
--- a/trove/quota/models.py
+++ b/trove/quota/models.py
@@ -13,10 +13,11 @@
# under the License.
+from oslo_log import log as logging
+
from trove.common import cfg
from trove.common import utils
from trove.db import models as dbmodels
-from trove.openstack.common import log as logging
LOG = logging.getLogger(__name__)
diff --git a/trove/quota/quota.py b/trove/quota/quota.py
index 9c01ddb4..b911b59a 100644
--- a/trove/quota/quota.py
+++ b/trove/quota/quota.py
@@ -16,11 +16,11 @@
"""Quotas for DB instances and resources."""
from oslo_config import cfg
+from oslo_log import log as logging
from oslo_utils import importutils
from trove.common import exception
from trove.common.i18n import _
-from trove.openstack.common import log as logging
from trove.quota.models import Quota
from trove.quota.models import QuotaUsage
from trove.quota.models import Reservation