Skip to content

Commit 3496790

Browse files
committed
Pg setup
1 parent 212b812 commit 3496790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fastapi_app/postgres_engine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ async def create_postgres_engine(*, host, username, database, password, sslmode,
1515
token = await azure_credential.get_token("https://ossrdbms-aad.database.windows.net/.default")
1616
password = token.token
1717
else:
18-
logger.info("Authenticating to PostgreSQL using password...")
18+
logger.info("Authenticating to PostgreSQL using password...%s", password)
1919

2020
DATABASE_URI = f"postgresql+asyncpg://{username}:{password}@{host}/{database}"
2121
# Specify SSL mode if needed

0 commit comments

Comments
 (0)