logger-3
All checks were successful
Deploy to core / deploy (push) Successful in 1m10s

This commit is contained in:
2024-02-20 19:01:50 +03:00
parent 9f10a23345
commit 822815fdac
6 changed files with 7 additions and 9 deletions

View File

@@ -7,9 +7,7 @@ from opensearchpy import OpenSearch
from services.logger import get_colorful_logger
from services.rediscache import redis
# os_logger = logging.getLogger(name='opensearch')
# os_logger.setLevel(logging.INFO)
logger = get_colorful_logger('services.search')
logger = get_colorful_logger('search')
ELASTIC_HOST = os.environ.get('ELASTIC_HOST', '').replace('https://', '')
ELASTIC_USER = os.environ.get('ELASTIC_USER', '')