statsdaemon
statsdaemon copied to clipboard
Feature Request: -debug print packets as well
Adding this to the beginning of packetHander() helped me verify that a statsd client was behaving. Overloads -debug a bit but it's a convenient way to check clients.
if *debug {
log.Printf("DEBUG: rcvd packet: %+v\n", s)
}