Use olso.log directly
As the openstack/common is deprecated, Watcher should use oslo lib directly to run in the openstack env. So there is much work to do with oslo. This patch fixed the log part. Change-Id: I3145a842fe3a22b3d08fec60d180329073edd50f
This commit is contained in:
@@ -15,12 +15,13 @@
|
||||
|
||||
import re
|
||||
|
||||
from oslo_log import log
|
||||
|
||||
from keystonemiddleware import auth_token
|
||||
|
||||
from watcher.common import exception
|
||||
from watcher.common.i18n import _
|
||||
from watcher.common import utils
|
||||
from watcher.openstack.common import log
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
||||
@@ -26,9 +26,10 @@ from xml import etree as et
|
||||
|
||||
import webob
|
||||
|
||||
from oslo_log import log
|
||||
|
||||
from watcher.common.i18n import _
|
||||
from watcher.common.i18n import _LE
|
||||
from watcher.openstack.common import log
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user