diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-05-21 15:53:24 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-05-21 15:53:24 +0000 |
| commit | 53583faac261f2272f81da2ee2efaff0e10bc400 (patch) | |
| tree | 19e1158c4a66557d0878e5193df73e59d282242e /nova/tests | |
| parent | 0d4c0e7fbc8bdd0d9c9503b09cf4590b696daf60 (diff) | |
| parent | f51f387b8cb8058a8f5a0c486c256a7a4d79b37d (diff) | |
Merge "Cleanup LOG.getLoggers to use __name__"
Diffstat (limited to 'nova/tests')
| -rw-r--r-- | nova/tests/api/ec2/test_ec2_validate.py | 2 | ||||
| -rw-r--r-- | nova/tests/test_migrations.py | 2 | ||||
| -rw-r--r-- | nova/tests/test_netapp.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/nova/tests/api/ec2/test_ec2_validate.py b/nova/tests/api/ec2/test_ec2_validate.py index ae494ccde..5def89175 100644 --- a/nova/tests/api/ec2/test_ec2_validate.py +++ b/nova/tests/api/ec2/test_ec2_validate.py @@ -34,7 +34,7 @@ from nova.openstack.common import importutils from nova import rpc from nova import test -LOG = logging.getLogger('nova.tests.ec2_validate') +LOG = logging.getLogger(__name__) FLAGS = flags.FLAGS diff --git a/nova/tests/test_migrations.py b/nova/tests/test_migrations.py index 559a06faf..5467418c4 100644 --- a/nova/tests/test_migrations.py +++ b/nova/tests/test_migrations.py @@ -38,7 +38,7 @@ from nova.db.sqlalchemy.migration import versioning_api as migration_api from nova import log as logging from nova import test -LOG = logging.getLogger('nova.tests.test_migrations') +LOG = logging.getLogger(__name__) def _mysql_get_connect_string(user="openstack_citest", diff --git a/nova/tests/test_netapp.py b/nova/tests/test_netapp.py index 579227c78..0688a6596 100644 --- a/nova/tests/test_netapp.py +++ b/nova/tests/test_netapp.py @@ -29,7 +29,7 @@ from nova import log as logging from nova import test from nova.volume import netapp -LOG = logging.getLogger("nova.volume.driver") +LOG = logging.getLogger(__name__) WSDL_HEADER = """<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
