summaryrefslogtreecommitdiff
path: root/ceilometer
diff options
context:
space:
mode:
Diffstat (limited to 'ceilometer')
-rw-r--r--ceilometer/publisher/gnocchi.py4
-rw-r--r--ceilometer/tests/unit/publisher/test_gnocchi.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/ceilometer/publisher/gnocchi.py b/ceilometer/publisher/gnocchi.py
index 22cebdab..19f186c7 100644
--- a/ceilometer/publisher/gnocchi.py
+++ b/ceilometer/publisher/gnocchi.py
@@ -285,9 +285,9 @@ class GnocchiPublisher(publisher.ConfigPublisherBase):
name=self.filter_project,
domain=self.filter_domain)
except ka_exceptions.NotFound:
- LOG.warning('filtered project not found in keystone,'
+ LOG.warning('project %s not found in keystone,'
' ignoring the filter_project '
- 'option')
+ 'option', self.filter_project)
self.filter_project = None
return None
except Exception:
diff --git a/ceilometer/tests/unit/publisher/test_gnocchi.py b/ceilometer/tests/unit/publisher/test_gnocchi.py
index b9ecdc1f..741594d5 100644
--- a/ceilometer/tests/unit/publisher/test_gnocchi.py
+++ b/ceilometer/tests/unit/publisher/test_gnocchi.py
@@ -339,9 +339,9 @@ class PublisherTest(base.BaseTestCase):
def test_activity_gnocchi_project_not_found(self, logger):
self.ks_client.projects.find.side_effect = ka_exceptions.NotFound
self._do_test_activity_filter(2)
- logger.warning.assert_called_with('filtered project not found in '
+ logger.warning.assert_called_with('project %s not found in '
'keystone, ignoring the '
- 'filter_project option')
+ 'filter_project option', 'service')
def test_activity_filter_match_swift_event(self):
self.samples[0].name = 'storage.objects.outgoing.bytes'