mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 18:17:55 +00:00
backport of commit 7d7564b829 (#22999)
Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
1425c89f3f
commit
7fe2a004ae
4
changelog/22997.txt
Normal file
4
changelog/22997.txt
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
```release-note:change
|
||||||
|
events: Log level for processing an event dropped from info to debug.
|
||||||
|
```
|
||||||
|
|
||||||
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user