Skip to content

Commit

Permalink
remove common.logger import, switch to using stdout, solves #670
Browse files Browse the repository at this point in the history
  • Loading branch information
meeb committed Feb 1, 2025
1 parent 89d395f commit 5e1da4e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tubesync/tubesync/local_settings.py.container
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,9 @@ if database_connection_env:


if database_dict:
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"]}')
print(f'Using database connection: {database_dict["ENGINE"]}://'
f'{database_dict["USER"]}:[hidden]@{database_dict["HOST"]}:'
f'{database_dict["PORT"]}/{database_dict["NAME"]}', file=sys.stdout)
DATABASES = {
'default': database_dict,
}
Expand Down

0 comments on commit 5e1da4e

Please sign in to comment.