backport of commit 7d7564b829 (#22999)

Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com>
This commit is contained in:
hc-github-team-secure-vault-core
2023-09-12 10:38:19 -04:00
committed by GitHub
parent 1425c89f3f
commit 7fe2a004ae
2 changed files with 5 additions and 1 deletions

4
changelog/22997.txt Normal file
View File

@@ -0,0 +1,4 @@
```release-note:change
events: Log level for processing an event dropped from info to debug.
```

View File

@@ -127,7 +127,7 @@ func (bus *EventBus) SendEventInternal(ctx context.Context, ns *namespace.Namesp
EventType: string(eventType), EventType: string(eventType),
PluginInfo: pluginInfo, PluginInfo: pluginInfo,
} }
bus.logger.Info("Sending event", "event", eventReceived) bus.logger.Debug("Sending event", "event", eventReceived)
// We can't easily know when the SendEvent is complete, so we can't call the cancel function. // We can't easily know when the SendEvent is complete, so we can't call the cancel function.
// But, it is called automatically after bus.timeout, so there won't be any leak as long as bus.timeout is not too long. // But, it is called automatically after bus.timeout, so there won't be any leak as long as bus.timeout is not too long.