statsdaemon icon indicating copy to clipboard operation
statsdaemon copied to clipboard

Feature Request: -debug print packets as well

Open msample opened this issue 8 years ago • 0 comments

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)
}

msample avatar Sep 23 '16 00:09 msample