Skip to content

Commit

Permalink
fix(pkg): match goroutines start/stop messages log level
Browse files Browse the repository at this point in the history
  • Loading branch information
nuivall committed Jun 22, 2023
1 parent 9b80747 commit 271bbdb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/generators/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func (g *Generator) start() {
case partition.values <- &typedef.ValueWithToken{Token: token, Value: values}:
cntEmitted++
case <-gCtx.Done():
g.logger.Debug("stopping partition key generation loop",
g.logger.Info("stopping partition key generation loop",
zap.Uint64("keys_created", cntCreated),
zap.Uint64("keys_emitted", cntEmitted))
return gCtx.Err()
Expand Down
4 changes: 2 additions & 2 deletions pkg/jobs/jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func mutationJob(
}
select {
case <-ctx.Done():
logger.Debug("mutation job terminated")
logger.Info("mutation job terminated")
return nil
case hb := <-pump:
time.Sleep(hb)
Expand Down Expand Up @@ -286,7 +286,7 @@ func warmupJob(
}
select {
case <-ctx.Done():
logger.Debug("warmup job terminated")
logger.Info("warmup job terminated")
return nil
default:
}
Expand Down

0 comments on commit 271bbdb

Please sign in to comment.