Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: change subscriber logs to debug #1740

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/gatewayapi/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (r *Runner) Start(ctx context.Context) error {
func (r *Runner) subscribeAndTranslate(ctx context.Context) {
message.HandleSubscription(r.ProviderResources.GatewayAPIResources.Subscribe(ctx),
func(update message.Update[string, *gatewayapi.Resources]) {
r.Logger.Info("received an update")
r.Logger.Debug("received an update")

val := update.Value

Expand Down
2 changes: 1 addition & 1 deletion internal/globalratelimit/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (r *Runner) subscribeAndTranslate(ctx context.Context) {
// Subscribe to resources.
message.HandleSubscription(r.XdsIR.Subscribe(ctx),
func(update message.Update[string, *ir.Xds]) {
r.Logger.Info("received a notification")
r.Logger.Debug("received an update")

if update.Delete {
if err := r.addNewSnapshot(ctx, nil); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion internal/infrastructure/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func (r *Runner) subscribeToProxyInfraIR(ctx context.Context) {
// Subscribe to resources
message.HandleSubscription(r.InfraIR.Subscribe(ctx),
func(update message.Update[string, *ir.Infra]) {
r.Logger.Info("received an update")
r.Logger.Debug("received an update")
val := update.Value

if update.Delete {
Expand Down
2 changes: 1 addition & 1 deletion internal/xds/server/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func (r *Runner) subscribeAndTranslate(ctx context.Context) {
key := update.Key
val := update.Value

r.Logger.Info("received an update")
r.Logger.Debug("received an update")
var err error
if update.Delete {
err = r.cache.GenerateNewSnapshot(key, nil)
Expand Down
2 changes: 1 addition & 1 deletion internal/xds/translator/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (r *Runner) subscribeAndTranslate(ctx context.Context) {
// Subscribe to resources
message.HandleSubscription(r.XdsIR.Subscribe(ctx),
func(update message.Update[string, *ir.Xds]) {
r.Logger.Info("received an update")
r.Logger.Debug("received an update")
key := update.Key
val := update.Value

Expand Down