diff --git a/ceilometer/publish.py b/ceilometer/publish.py index f359849fb..97b5f5cbb 100644 --- a/ceilometer/publish.py +++ b/ceilometer/publish.py @@ -18,16 +18,13 @@ """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 cfg from ceilometer import meter -# FIXME(dhellmann): We need to have the main program set up logging -# correctly so messages from modules outside of the nova package -# appear in the output. -LOG = logging.getLogger('nova.' + __name__) +LOG = log.getLogger(__name__) def publish_counter(context, counter):