Skip to content

Commit

Permalink
Log the flakinessrate at ct-test-srv startup (#7896)
Browse files Browse the repository at this point in the history
This is useful for checking configurations via logs.
  • Loading branch information
mcpherrinm authored Dec 18, 2024
1 parent 5b94510 commit ba624ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/ct-test-srv/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ func runPersonality(p Personality) {
Handler: m,
}
logID := sha256.Sum256(pubKeyBytes)
log.Printf("ct-test-srv on %s with pubkey %s and log ID %s", p.Addr,
base64.StdEncoding.EncodeToString(pubKeyBytes), base64.StdEncoding.EncodeToString(logID[:]))
log.Printf("ct-test-srv on %s with pubkey: %s, log ID: %s, flakiness: %d%%", p.Addr,
base64.StdEncoding.EncodeToString(pubKeyBytes), base64.StdEncoding.EncodeToString(logID[:]), p.FlakinessRate)
log.Fatal(srv.ListenAndServe())
}

Expand Down

0 comments on commit ba624ac

Please sign in to comment.