From b75b5ede2944a707bb3caa85cfe64b0e60fca53c Mon Sep 17 00:00:00 2001 From: Vadzim Hushchanskou Date: Thu, 9 Nov 2023 18:25:26 +0300 Subject: [PATCH] Improve logging --- app/commons/esclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/commons/esclient.py b/app/commons/esclient.py index 860abc4d..e451029e 100644 --- a/app/commons/esclient.py +++ b/app/commons/esclient.py @@ -143,7 +143,7 @@ def update_settings_after_read_only(self, es_host): def create_index(self, index_name): """Create index in elasticsearch""" - logger.debug("Creating '%s' Elasticsearch index", str(index_name)) + logger.info("Creating '%s' Elasticsearch index", str(index_name)) logger.info("ES Url %s", text_processing.remove_credentials_from_url(self.host)) try: response = self.es_client.indices.create(index=str(index_name), body={