Skip to content
This repository was 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
vmg merged 1 commit into
github:masterfrom
goir:log_bad_key
Jun 30, 2015
Merged

log the actual bad key in case of an error in statsd_run_recvmmsg#24
vmg merged 1 commit into
github:masterfrom
goir:log_bad_key

Conversation

@goir

@goir goir commented Jun 30, 2015

Copy link
Copy Markdown
Contributor

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

@vmg

vmg commented Jun 30, 2015

Copy link
Copy Markdown
Contributor

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

goir commented Jun 30, 2015

Copy link
Copy Markdown
Contributor Author

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

vmg commented Jun 30, 2015

Copy link
Copy Markdown
Contributor

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