mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-13 23:47:44 +00:00
fix logging names
This commit is contained in:
parent
f9fd53610f
commit
88223e6155
1 changed files with 2 additions and 2 deletions
|
@ -507,7 +507,7 @@ func enqueueAccounts(ctx context.Context, logger *zap.Logger, statsd *statsd.Cli
|
||||||
if len(enqueued) == 0 {
|
if len(enqueued) == 0 {
|
||||||
logger.Info("no viable candidates to enqueue",
|
logger.Info("no viable candidates to enqueue",
|
||||||
zap.Int("offset", offset),
|
zap.Int("offset", offset),
|
||||||
zap.Int("attempts", len(ids)),
|
zap.Int("candidates", len(ids)),
|
||||||
zap.Int("enqueued", len(enqueued)),
|
zap.Int("enqueued", len(enqueued)),
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
@ -525,7 +525,7 @@ func enqueueAccounts(ctx context.Context, logger *zap.Logger, statsd *statsd.Cli
|
||||||
|
|
||||||
logger.Info("enqueued account batch",
|
logger.Info("enqueued account batch",
|
||||||
zap.Int("offset", offset),
|
zap.Int("offset", offset),
|
||||||
zap.Int("attempts", len(ids)),
|
zap.Int("candidates", len(ids)),
|
||||||
zap.Int("enqueued", len(enqueued)),
|
zap.Int("enqueued", len(enqueued)),
|
||||||
)
|
)
|
||||||
}(ctx, i)
|
}(ctx, i)
|
||||||
|
|
Loading…
Reference in a new issue