Remove usage of nova.log
Change-Id: Iea9ca7cfbf6bd46aa2918c7fe1c54a44bd3f38d2 Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
This commit is contained in:
parent
158ed6b568
commit
378b856a9b
@ -18,16 +18,13 @@
|
|||||||
"""Publish a counter using the preferred RPC mechanism.
|
"""Publish a counter using the preferred RPC mechanism.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from nova import log as logging
|
from ceilometer import log
|
||||||
from ceilometer.openstack.common import rpc
|
from ceilometer.openstack.common import rpc
|
||||||
|
|
||||||
from ceilometer.openstack.common import cfg
|
from ceilometer.openstack.common import cfg
|
||||||
from ceilometer import meter
|
from ceilometer import meter
|
||||||
|
|
||||||
# FIXME(dhellmann): We need to have the main program set up logging
|
LOG = log.getLogger(__name__)
|
||||||
# correctly so messages from modules outside of the nova package
|
|
||||||
# appear in the output.
|
|
||||||
LOG = logging.getLogger('nova.' + __name__)
|
|
||||||
|
|
||||||
|
|
||||||
def publish_counter(context, counter):
|
def publish_counter(context, counter):
|
||||||
|
Loading…
Reference in New Issue
Block a user