From 64d376e933b83aea8d33ae51d7caed0d745a2c59 Mon Sep 17 00:00:00 2001 From: A Smith Date: Wed, 25 Oct 2017 16:10:31 -0500 Subject: [PATCH] Correctly logger debug entry for alerts-previous alias --- cron/rotateIndexes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron/rotateIndexes.py b/cron/rotateIndexes.py index 3a80ffc4..016c3c21 100755 --- a/cron/rotateIndexes.py +++ b/cron/rotateIndexes.py @@ -86,7 +86,7 @@ def esRotateIndexes(): logger.debug('Setting {0}-previous alias to index: {1}'.format(index, oldindex)) es.create_alias('%s-previous' % index, oldindex) else: - logger.debug('Old index %s is missing, do not change %s alias' % (oldindex, index)) + logger.debug('Old index %s is missing, do not change %s-previous alias' % (oldindex, index)) except Exception as e: logger.error("Unhandled exception while rotating %s, terminating: %r" % (index, e))