This is follow up work to #70330.
Currently in log/flags.go we see the following:
errCallback ≔ λ(err error) {
// TODO(knz): explain which sink is encountering the error in the
// error message.
Ops.Errorf(context.Background(), "logging error: %v", err)
}
if s.criticality {
// TODO(knz): explain which sink is encountering the error in the
// error message.
errCallback = λ(err error) {
Ops.Errorf(context.Background(), "logging error: %v", err)
...
The logging error message does not include detail about which sink is causing the error, which makes troubleshooting difficult.
We want to annotate some information about the sink in the error report.
Jira issue: CRDB-11169
This is follow up work to #70330.
Currently in
log/flags.gowe see the following:The
logging errormessage does not include detail about which sink is causing the error, which makes troubleshooting difficult.We want to annotate some information about the sink in the error report.
Jira issue: CRDB-11169