adjust the log level to avoid printing a large number of logs

Change-Id: I069a6c13cc4010ea24fbddcbe33fb38400cb8a67
This commit is contained in:
inspurericzhang 2023-02-28 11:19:44 +00:00
parent 41bb0f4e03
commit 69414d4f72

View File

@ -67,8 +67,8 @@ class DeleteESIndexTask(object):
index_name, diff_day.days) index_name, diff_day.days)
self.delete_index(index_name) self.delete_index(index_name)
else: else:
LOG.info(_LI("not delete index %s, diff day %d"), LOG.debug(_LI("not delete index %s, diff day %d"),
index_name, diff_day.days) index_name, diff_day.days)
except Exception as e: except Exception as e:
LOG.error(_LE("delete es inidex, catch exception:%s"), str(e)) LOG.error(_LE("delete es inidex, catch exception:%s"), str(e))