Skip to content

Commit

Permalink
debug: Debug log
Browse files Browse the repository at this point in the history
Signed-off-by: Evgenii Baidakov <[email protected]>
  • Loading branch information
smallhive committed Aug 4, 2023
1 parent c9227e8 commit 5eddd95
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/s3-gw/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ func (a *App) initMetrics() {
}

func (a *App) initResolver(ctx context.Context) {
a.log.Warn("rpcClient endpoint:", zap.String("rpcClient", a.cfg.GetString(cfgRPCEndpoint)))

cl, err := rpcClient(ctx, a.cfg.GetString(cfgRPCEndpoint))
if err != nil {
a.log.Fatal("rpcclient", zap.Error(err))
Expand Down

0 comments on commit 5eddd95

Please sign in to comment.