зеркало из https://github.com/mozilla/MozDef.git
Correctly logger debug entry for alerts-previous alias
This commit is contained in:
Родитель
3030905a63
Коммит
64d376e933
|
@ -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))
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче