Skip to content

Commit

Permalink
Don't log DB passwords (#4583) (#4589)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys authored Dec 19, 2024
1 parent fc40696 commit 80ea0d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/server/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func setupStore(ctx context.Context, c *cli.Command) (store.Store, error) {
Config: datasource,
XORM: xorm,
}
log.Trace().Msgf("setup datastore: %#v", *opts)
log.Debug().Str("driver", driver).Any("xorm", xorm).Msg("setting up datastore")
store, err := datastore.NewEngine(opts)
if err != nil {
return nil, fmt.Errorf("could not open datastore: %w", err)
Expand Down

0 comments on commit 80ea0d1

Please sign in to comment.