Move logging to use oslo_log library
The oslo-incubator log modlule has been removed, so port to the oslo_log library. Note this uses the new (non namespaced, e.g oslo.log) import convention, we'll need to align other imports in a future commit. Some import reordering was required due to pedantic H30[57] checks, and the services have all been converted to initialize the oslo_log library as this is done differently to the log.py in incubator. Change-Id: Ib5a97123fe1b287bc531e42d7887c13ba6205628
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
import six
|
||||
|
||||
from heat.common.i18n import _
|
||||
@@ -21,7 +22,6 @@ from heat.common.i18n import _LW
|
||||
from heat.engine import attributes
|
||||
from heat.engine import properties
|
||||
from heat.engine import resource
|
||||
from heat.openstack.common import log as logging
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user