From fd2a66f9a3a2d6612a05a3df258c3ce46bb154f2 Mon Sep 17 00:00:00 2001 From: ZhiQiang Fan Date: Tue, 17 Mar 2015 17:29:11 +0800 Subject: [PATCH] remove log message when process notification message may contain some sensitive information, for example, auth token. This patch removes log entire message in network.notications Change-Id: I7e5f37668ab2a8bcf191ad886ac54352727272f7 Closes-Bug: #1433004 --- ceilometer/network/notifications.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ceilometer/network/notifications.py b/ceilometer/network/notifications.py index fe462232e1..35978a7be1 100644 --- a/ceilometer/network/notifications.py +++ b/ceilometer/network/notifications.py @@ -21,7 +21,6 @@ import oslo.messaging from oslo_config import cfg from ceilometer.agent import plugin_base -from ceilometer.i18n import _ from ceilometer.openstack.common import log from ceilometer import sample @@ -72,7 +71,6 @@ class NetworkNotificationBase(plugin_base.NotificationBase): for topic in conf.notification_topics] def process_notification(self, message): - LOG.info(_('network notification %r') % message) counter_name = getattr(self, 'counter_name', self.resource_name) unit_value = getattr(self, 'unit', self.resource_name)