We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b42e7c8 commit 27bbce2Copy full SHA for 27bbce2
1 file changed
probes/trafficsim.go
@@ -4,7 +4,7 @@ import (
4
"context"
5
"encoding/json"
6
"fmt"
7
- "log"
+ log "github.com/sirupsen/logrus"
8
"math"
9
"net"
10
"os"
@@ -451,6 +451,13 @@ func (ts *TrafficSim) reportStats(mtrProbe *Probe) {
451
return
452
}
453
454
+ marshal, err := json.Marshal(ts.Probe)
455
+ if err != nil {
456
+ return
457
+ }
458
+
459
+ log.Warnf("someone made a fucky wucky? %s", marshal)
460
461
select {
462
case ts.DataChan <- ProbeData{
463
ProbeID: ts.Probe.ID,
0 commit comments