Skip to content

Commit

Permalink
logger debug
Browse files Browse the repository at this point in the history
  • Loading branch information
olegshmuelov committed Dec 27, 2023
1 parent 2de450b commit e5bec13
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions e2e/logs_catcher/matcher_bls.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func VerifyBLSSignature(pctx context.Context, logger *zap.Logger, cli DockerCLI,
if err != nil {
return fmt.Errorf("failed to parse and extract duty info: %w", err)
}
logger.Info("Duty ID: ", zap.String("duty_id", dutyID))
logger.Debug("Duty ID: ", zap.String("duty_id", dutyID))

committee := []*types.Operator{
{OperatorID: 1},
Expand All @@ -78,7 +78,7 @@ func VerifyBLSSignature(pctx context.Context, logger *zap.Logger, cli DockerCLI,
{OperatorID: 4},
}
leader := DetermineLeader(dutySlot, committee)
logger.Info("Leader: ", zap.Uint64("leader", leader))
logger.Debug("Leader: ", zap.Uint64("leader", leader))

_, err = StartCondition(startctx, logger, []string{submittedAttSuccess, share.ValidatorPubKey}, targetContainer, cli)
if err != nil {
Expand Down Expand Up @@ -254,8 +254,6 @@ func matchSingleConditionLog(ctx context.Context, logger *zap.Logger, cli Docker
return fmt.Errorf("found non matching messages on %v, want %v got %v", target, 1, len(filteredLogs))
}

logger.Info("SUCCESS matched ", zap.Int("matched", len(filteredLogs)))

return nil
}

Expand Down Expand Up @@ -293,7 +291,6 @@ func matchDualConditionLog(ctx context.Context, logger *zap.Logger, cli DockerCL
}
}

logger.Info("SUCCESS matched ", zap.Int("matched", len(filteredLogs)))
return nil
}

Expand Down

0 comments on commit e5bec13

Please sign in to comment.