Skip to content

Commit 0cc2517

Browse files
authored
Merge pull request #4 from damz/pr/silence-pinger
Silence errors from pro-bing, they break the pterm area
2 parents f1a67ac + 2465ece commit 0cc2517

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pinger_probing.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ func (w *ProbingWrapper) Start() {
2828
log.Fatalf("pinger initialization failed %s, %s", w.host, err)
2929
}
3030

31+
w.pinger.SetLogger(probing.NoopLogger{}) // Silence all logging from the library
32+
3133
w.pinger.RecordRtts = false
3234
w.pinger.OnSend = w.onSend
3335
// pinger.OnSend = pingwrapper.OnRecv

0 commit comments

Comments
 (0)