Skip to content

Commit

Permalink
Remove databaseURL from log. (#4180)
Browse files Browse the repository at this point in the history
Co-authored-by: Erika Lee <[email protected]>
  • Loading branch information
erika-sdf and Erika Lee authored Jan 13, 2022
1 parent 94eb7a6 commit 73b2df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/horizon/internal/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
)

func mustNewDBSession(subservice db.Subservice, databaseURL string, maxIdle, maxOpen int, registry *prometheus.Registry) db.SessionInterface {
log.Infof("Establishing database session at %s for %v", databaseURL, subservice)
log.Infof("Establishing database session for %v", subservice)
session, err := db.Open("postgres", databaseURL)
if err != nil {
log.Fatalf("cannot open %v DB: %v", subservice, err)
Expand Down

0 comments on commit 73b2df1

Please sign in to comment.