Print collection type on request

This commit is contained in:
Julian Kornberger 2016-03-12 03:35:35 +01:00
parent 894eabedb8
commit 037fe1de05

View File

@ -70,7 +70,7 @@ func (coll *Collector) Close() {
func (coll *Collector) sendOnce() {
coll.sendPacket(net.JoinHostPort(multiCastGroup, port))
log.Println("send request")
log.Println("request", coll.CollectType)
}
func (coll *Collector) sendPacket(address string) {