Standardize logging delaration and use
* Make modules use getLogger(__name__) and log to the result Change-Id: Ib6d69b4be140ec89affc86ed11e65e422d551df1
This commit is contained in:
@@ -27,7 +27,7 @@ from nova import flags
|
||||
from nova import log as logging
|
||||
|
||||
FLAGS = flags.FLAGS
|
||||
LOG = logging.getLogger('nova.instance_types')
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def create(name, memory, vcpus, root_gb, ephemeral_gb, flavorid, swap=None,
|
||||
|
||||
Reference in New Issue
Block a user