mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 17:52:32 +00:00
Events: Drop log level for events to debug (#22997)
This commit is contained in:
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