mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-31 23:41:09 +02:00
logging: remove ctx from global log methods (#5337)
* log: remove warn * log: update debug * log: update info * remove level, log * remove contextLogger function
This commit is contained in:
parent
1ccaf1b22b
commit
d2c14cd6d2
53 changed files with 150 additions and 198 deletions
|
@ -91,7 +91,7 @@ func (ff *fastForwardHandler) UpdateRecords(ctx context.Context, serverVersion u
|
|||
})
|
||||
dropped := cnt - len(records)
|
||||
if dropped > 0 {
|
||||
log.Info(ctx).Msgf("databroker: fast-forwarded %d records", dropped)
|
||||
log.Ctx(ctx).Info().Msgf("databroker: fast-forwarded %d records", dropped)
|
||||
}
|
||||
// reverse back so they appear in the order they were delivered
|
||||
slices.Reverse(records)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue