Skip to content

Commit

Permalink
Improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Nov 9, 2023
1 parent 64446f0 commit b75b5ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/commons/esclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -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={
Expand Down

0 comments on commit b75b5ed

Please sign in to comment.