Update local_settings.py.container

This commit is contained in:
tcely 2025-01-31 08:46:49 -05:00 committed by GitHub
parent 2c9e70f8cd
commit ec7c05d53f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,5 @@
import os
import sys
from pathlib import Path
from urllib.parse import urljoin
from common.utils import parse_database_connection_string
@ -31,8 +32,8 @@ if database_connection_env:
if database_dict:
# check that logging was already imported a better way
from common.logger import log
if 'logging' not in sys.modules:
from common.logger import log
log.info(f'Using database connection: {database_dict["ENGINE"]}://'
f'{database_dict["USER"]}:[hidden]@{database_dict["HOST"]}:'
f'{database_dict["PORT"]}/{database_dict["NAME"]}')