Skip to content

Commit

Permalink
fix(webconnectivity@v0.5): avoid confusing log message (#954)
Browse files Browse the repository at this point in the history
It's confusing to see

```
measuring additional addrs from TH: []
```

when actually nothing is going to be measured.

So, instead, let us log about the additional addrs
discovered by the TH instead, which is less confusing.

Part of ooni/probe#2237
  • Loading branch information
bassosimone committed Sep 12, 2022
1 parent b10eea4 commit f77474a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/experiment/webconnectivity/control.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func (c *Control) maybeStartExtraMeasurements(ctx context.Context, thAddrs []str
thOnlyAddrs = append(thOnlyAddrs, addr)
}

c.Logger.Infof("measuring additional addrs from TH: %+v", thOnlyAddrs)
c.Logger.Infof("additional addrs discovered by the TH: %+v", thOnlyAddrs)

var thOnly []DNSEntry
for _, addr := range thOnlyAddrs {
Expand Down

0 comments on commit f77474a

Please sign in to comment.