mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 00:40:25 +02:00
core/logging: change log.Error function (#5251)
* core/logging: change log.Error function * use request id
This commit is contained in:
parent
97bf5edc54
commit
dad954ae16
66 changed files with 163 additions and 166 deletions
|
@ -1,7 +1,6 @@
|
|||
package events
|
||||
|
||||
import (
|
||||
"context"
|
||||
"sync"
|
||||
|
||||
"github.com/google/uuid"
|
||||
|
@ -29,7 +28,7 @@ func (mgr *Manager) Dispatch(evt Event) {
|
|||
mgr.mu.RUnlock()
|
||||
|
||||
if dropped {
|
||||
log.Error(context.Background()).
|
||||
log.Error().
|
||||
Interface("event", evt).
|
||||
Msg("controlplane: dropping event due to full channel")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue