if err != nil {
tc.Error("%s", err.Error())
}
- tc.Info("handling SubscriptionID=%d Address=%s Port=%d", *req.SubscriptionID, *req.Address, *req.Port)
+ tc.Debug("handling SubscriptionID=%d Address=%s Port=%d", *req.SubscriptionID, *req.Address, *req.Port)
id = *req.SubscriptionID
}
if r.Method == http.MethodPut {
if err != nil {
tc.Error("%s", err.Error())
}
- tc.Info("handling put")
+ tc.Debug("handling put")
}
var code int = 0
}
if tc.eventWaiter.sleep != 0 {
<-time.After(time.Duration(tc.eventWaiter.sleep) * time.Millisecond)
- tc.Info("sleeping done, %v", id)
+ tc.Debug("sleeping done, %v", id)
}
}
case http.MethodDelete:
if waiter != nil {
waiter.SetResult(true)
}
- tc.Info("Method=%s Reply with code %d", r.Method, code)
+ tc.Debug("Method=%s Reply with code %d", r.Method, code)
w.WriteHeader(code)
}