From: Assaf Muller Date: Wed, 22 Apr 2015 16:12:47 +0000 (-0400) Subject: Change callbacks logging from INFO to DEBUG X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=16db327c8d65a13fb18538b537fdc631c256ce59;p=openstack-build%2Fneutron-build.git Change callbacks logging from INFO to DEBUG This is an internal implementation detail, would admins care if internal events are being fired off successfully? What actionable information does this present? Change-Id: I81418c1ff529b5a8ffe60513d91f51d134a45f26 --- diff --git a/neutron/callbacks/manager.py b/neutron/callbacks/manager.py index 365a54f27..a215326f1 100644 --- a/neutron/callbacks/manager.py +++ b/neutron/callbacks/manager.py @@ -19,7 +19,7 @@ from oslo_utils import reflection from neutron.callbacks import events from neutron.callbacks import exceptions from neutron.callbacks import resources -from neutron.i18n import _LE, _LI +from neutron.i18n import _LE LOG = logging.getLogger(__name__) @@ -132,14 +132,14 @@ class CallbacksManager(object): def _notify_loop(self, resource, event, trigger, **kwargs): """The notification loop.""" - LOG.info(_LI("Notify callbacks for %(resource)s, %(event)s"), - {'resource': resource, 'event': event}) + LOG.debug("Notify callbacks for %(resource)s, %(event)s", + {'resource': resource, 'event': event}) errors = [] # TODO(armax): consider using a GreenPile for callback_id, callback in self._callbacks[resource][event].items(): try: - LOG.info(_LI("Calling callback %s"), callback_id) + LOG.debug("Calling callback %s", callback_id) callback(resource, event, trigger, **kwargs) except Exception as e: LOG.exception(_LE("Error during notification for "