fn redact_database_url(url: &str) -> String
Redact credentials from a database URL for safe logging. Turns postgres://user:pass@host:5432/db into postgres://***@host:5432/db.
postgres://user:pass@host:5432/db
postgres://***@host:5432/db