Standardize logging delaration and use
* Make modules use getLogger(__name__) and log to the result Change-Id: Ib6d69b4be140ec89affc86ed11e65e422d551df1
This commit is contained in:
@@ -28,7 +28,7 @@ from nova.db.sqlalchemy.session import get_session
|
||||
from nova.db.sqlalchemy import models
|
||||
|
||||
FLAGS = flags.FLAGS
|
||||
LOG = logging.getLogger('nova.tests.compute')
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class InstanceTypeTestCase(test.TestCase):
|
||||
|
||||
Reference in New Issue
Block a user