Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: -debug print packets as well #83

Open
msample opened this issue Sep 23, 2016 · 0 comments
Open

Feature Request: -debug print packets as well #83

msample opened this issue Sep 23, 2016 · 0 comments

Comments

@msample
Copy link

msample commented Sep 23, 2016

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)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant