Manager: reduce log levels
This commit is contained in:
parent
ec77de886b
commit
c5a2a23f6e
@ -33,7 +33,7 @@ func WorkerAuth(ctx context.Context, authInfo *openapi3filter.AuthenticationInpu
|
||||
|
||||
// Fetch username & password from the HTTP header.
|
||||
u, p, ok := req.BasicAuth()
|
||||
logger.Debug().Interface("scheme", authInfo.SecuritySchemeName).Str("user", u).Msg("authenticator")
|
||||
logger.Trace().Interface("scheme", authInfo.SecuritySchemeName).Str("user", u).Msg("authenticator")
|
||||
if !ok {
|
||||
return authInfo.NewError(errors.New("no auth header found"))
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ var (
|
||||
// NOTE: this does not also fetch returnedTask.Worker, but returnedTask.WorkerID is set.
|
||||
func (db *DB) ScheduleTask(ctx context.Context, w *Worker) (*Task, error) {
|
||||
logger := log.With().Str("worker", w.UUID).Logger()
|
||||
logger.Debug().Msg("finding task for worker")
|
||||
logger.Trace().Msg("finding task for worker")
|
||||
|
||||
// Run two queries in one transaction:
|
||||
// 1. find task, and
|
||||
|
Loading…
x
Reference in New Issue
Block a user