Standardize logging delaration and use

* Make modules use getLogger(__name__) and log to the result

Change-Id: Ib6d69b4be140ec89affc86ed11e65e422d551df1
This commit is contained in:
Jason Kölker
2012-02-14 12:07:02 -06:00
parent b3ade08a21
commit c9ca372b0b
219 changed files with 325 additions and 269 deletions

View File

@@ -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,