Skip to content

Feature Request: -debug print packets as well #83

Open
@msample

Description

@msample

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions