diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-08-12 17:48:41 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-08-12 17:48:41 +0000 |
commit | c7369046248e1da2eedfbdebb0eeb287edb6a14b (patch) | |
tree | 007e50922e7aa1ee809b75e428b341eb8c7fb0fc | |
parent | f80cfd6e1fe6bb549530bcb63d9f67d0ccdee419 (diff) | |
parent | f28b0c4021195c8ddb8c7f1c6bde23f005d5dc9c (diff) | |
download | ceilometer-c7369046248e1da2eedfbdebb0eeb287edb6a14b.tar.gz |
Merge "Fix alarm rest notifier logging to include severity" into stable/kilo
-rw-r--r-- | ceilometer/alarm/notifier/rest.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ceilometer/alarm/notifier/rest.py b/ceilometer/alarm/notifier/rest.py index 56bed598..9ee0f51c 100644 --- a/ceilometer/alarm/notifier/rest.py +++ b/ceilometer/alarm/notifier/rest.py @@ -62,9 +62,9 @@ class RestAlarmNotifier(notifier.AlarmNotifier): headers['x-openstack-request-id'] = context.generate_request_id() LOG.info(_( - "Notifying alarm %(alarm_name)s %(alarm_id)s from " - "%(previous)s to %(current)s with action %(action)s because " - "%(reason)s. request-id: %(request_id)s ") % + "Notifying alarm %(alarm_name)s %(alarm_id)s with severity" + " %(severity)s from %(previous)s to %(current)s with action " + "%(action)s because %(reason)s. request-id: %(request_id)s ") % ({'alarm_name': alarm_name, 'alarm_id': alarm_id, 'severity': severity, 'previous': previous, 'current': current, 'action': action, 'reason': reason, |