Closed SandraRodgers closed 9 months ago
This change handles an EOF condition more gracefully in the live.Stream() function by logging it with a lower verbosity level (V(4)) rather than treating it as a regular error (V(1)).
live.Stream()
Instead of: klog.V(1).Infof("r.Read failed. Err: %v\n", err)
klog.V(1).Infof("r.Read failed. Err: %v\n", err)
It logs: klog.V(4).Infof("r.Read encountered EOF. Err: %v\n", err)
klog.V(4).Infof("r.Read encountered EOF. Err: %v\n", err)
Proposed changes
This change handles an EOF condition more gracefully in the
live.Stream()
function by logging it with a lower verbosity level (V(4)) rather than treating it as a regular error (V(1)).Instead of:
klog.V(1).Infof("r.Read failed. Err: %v\n", err)
It logs:
klog.V(4).Infof("r.Read encountered EOF. Err: %v\n", err)