mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-24 03:59:49 +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
|
@ -1,7 +1,6 @@
|
|||
package evaluator
|
||||
|
||||
import (
|
||||
"context"
|
||||
"crypto/x509"
|
||||
"encoding/asn1"
|
||||
"encoding/json"
|
||||
|
@ -124,7 +123,7 @@ func isValidClientCertificate(
|
|||
valid := verifyErr == nil
|
||||
|
||||
if verifyErr != nil {
|
||||
log.Debug(context.Background()).Err(verifyErr).Msg("client certificate failed verification: %w")
|
||||
log.Debug().Err(verifyErr).Msg("client certificate failed verification: %w")
|
||||
}
|
||||
|
||||
isValidClientCertificateCache.Add(cacheKey, valid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue