mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Suppress noisy basic auth token deletion log
Right now the basic auth tokens that are deleted after `--auth-token-ttl` cause info-level logs to be emitted. Change this to debug. This helps with the issue at #18244 where calling `/readyz` frequently pollutes the etcd server logs with this log message. Fixes #18244. Signed-off-by: Ahmet Alp Balkan <ahmet@linkedin.com>
This commit is contained in:
parent
5b4c548a2c
commit
0a960a272d
@ -167,7 +167,7 @@ func (t *tokenSimple) enable() {
|
||||
|
||||
delf := func(tk string) {
|
||||
if username, ok := t.simpleTokens[tk]; ok {
|
||||
t.lg.Info(
|
||||
t.lg.Debug(
|
||||
"deleted a simple token",
|
||||
zap.String("user-name", username),
|
||||
zap.String("token", tk),
|
||||
|
Loading…
x
Reference in New Issue
Block a user