Use oslo.log instead of original logging
We are using oslo.log now, but some of the modules still use logging. We should use oslo.log to keep consistency, besides, oslo.log can provide fine wrapper for OpenStack projects. Change-Id: Ibe57e503b88b39e284a9e4b11a1886cd4e8d4ccf
This commit is contained in:
ironic_python_agent
@ -14,13 +14,13 @@
|
||||
|
||||
import ctypes
|
||||
import fcntl
|
||||
import logging
|
||||
import select
|
||||
import socket
|
||||
import struct
|
||||
import sys
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
|
||||
# FIXME(lucasagomes): If you don't import the agent module the tests in
|
||||
# this file will fail, it was working before because the agent module was
|
||||
|
Reference in New Issue
Block a user