startup: do not print postgres connection string, closes #523 (#540)

This commit is contained in:
callebtc
2024-06-05 13:11:51 +02:00
committed by GitHub
parent 61cf7def24
commit d80280e35d

View File

@@ -36,6 +36,10 @@ for key, value in settings.dict().items():
"mint_corelightning_rest_macaroon",
]:
value = "********" if value is not None else None
if key == "mint_database" and value and value.startswith("postgres://"):
value = "postgres://********"
logger.debug(f"{key}: {value}")
wallets_module = importlib.import_module("cashu.lightning")