Skip to content

Commit

Permalink
fix(main): mute interceptor logs
Browse files Browse the repository at this point in the history
  • Loading branch information
aybabtme committed Dec 8, 2024
1 parent 830f990 commit 4187e2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/humanlog/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -540,9 +540,10 @@ func newApp() *cli.App {
return fmt.Errorf("this feature requires a valid machine ID, which requires an environment. failed to login: %v", err)
}
}
llIceptor := slog.New(slog.NewJSONHandler(os.Stderr, &slog.HandlerOptions{Level: slog.LevelWarn}))
apiHttpClient := getHTTPClient(cctx, getAPIUrl(cctx))
apiClientOpts := []connect.ClientOption{
connect.WithInterceptors(auth.Interceptors(ll, getTokenSource(cctx))...),
connect.WithInterceptors(auth.Interceptors(llIceptor, getTokenSource(cctx))...),
}

machineID = uint64(*state.MachineID)
Expand Down

0 comments on commit 4187e2a

Please sign in to comment.