boulder icon indicating copy to clipboard operation
boulder copied to clipboard

sql: suppress ordinary errors

Open jsha opened this issue 3 years ago • 1 comments

During times of high load, we log a large number of error log lines like these:

[mysql] read ... i/o timeout [mysql] unexpected EOF

These go through the mysql log adapter in cmd/shell.go. We can log thousands of these per minute, which suggests they would be better as a stat than as a log line. We should suppress these in the log adapter and add a stat for them (assuming there is no stat we can already gather).

jsha avatar Jun 14 '22 00:06 jsha