diff --git a/ceilometer/alarm/service.py b/ceilometer/alarm/service.py index 1c3a7c82e..a8e99a735 100644 --- a/ceilometer/alarm/service.py +++ b/ceilometer/alarm/service.py @@ -231,7 +231,7 @@ class AlarmNotifierService(rpc_service.Service): except Exception: LOG.error( _("Unable to parse action %(action)s for alarm %(alarm_id)s"), - locals()) + {'action': action, 'alarm_id': alarm_id}) return try: @@ -241,7 +241,7 @@ class AlarmNotifierService(rpc_service.Service): LOG.error( _("Action %(scheme)s for alarm %(alarm_id)s is unknown, " "cannot notify"), - locals()) + {'scheme': scheme, 'alarm_id': alarm_id}) return try: