Skip to content
This repository has been archived by the owner on Nov 14, 2019. It is now read-only.

log the actual bad key in case of an error in statsd_run_recvmmsg #24

Merged
merged 1 commit into from
Jun 30, 2015

Conversation

goir
Copy link
Contributor

@goir goir commented Jun 30, 2015

Currently only "packet_drop" is logged. This is not very useful to find the actual bad key to fix it.

@vmg
Copy link
Contributor

vmg commented Jun 30, 2015

Thanks! I'm afraid this change is not correct, since the underlying buffer will have been modified by the parse function. You will need to restore the : like on the recvmsg path before you can safely print the key.

@goir
Copy link
Contributor Author

goir commented Jun 30, 2015

Oh, i've added it and deployed on our servers. Works still fine :)

vmg pushed a commit that referenced this pull request Jun 30, 2015
log the actual bad key in case of an error in statsd_run_recvmmsg
@vmg vmg merged commit 657498c into github:master Jun 30, 2015
@vmg
Copy link
Contributor

vmg commented Jun 30, 2015

Thanks! :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants