Skip to content

Conversation

@jsha
Copy link
Contributor

@jsha jsha commented Jan 13, 2026

Err logs wind up in audit log, Info doesn't. At the same time, move the relevant lines to InfoObject.

Also, take the existing info-level logs about error backoffs and move them to no-ops.

Fixes #8431

Err logs wind up in audit log, Info doesn't
At the same time, move the relevant lines to InfoObject.
@jsha jsha requested a review from a team as a code owner January 13, 2026 04:42
@jsha jsha requested a review from aarongable January 13, 2026 04:42
if !ok {
err := fmt.Errorf("No issuerBundle matching issuerNameID: %d", int64(id))
pub.log.Errf("Failed to submit certificate to CT log: %s", err)
pub.log.InfoObject("No configured issuer matches cert", struct {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This indicates a misconfiguration, and seems like it should stay at error level

Copy link
Contributor

@aarongable aarongable left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM modulo Matt's comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Don't audit log failures to submit to CT

4 participants