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

Chunk fix #24

Merged
merged 3 commits into from
Feb 7, 2012
Merged

Chunk fix #24

merged 3 commits into from
Feb 7, 2012

Conversation

rocketraman
Copy link
Contributor

This should fix the chunking problem seen in Issue #22.

The sequence and total are only 1 byte each, not 2 bytes each.
Message id was 32 bytes. Change to use 8 bytes as per the GELF spec.
Since 8 bytes is not a lot, we take only the 4 least-significant-bytes of
the current time in millis, and the last 4 ASCII chars of the host name,
which together should provide a reasonably unique chunk id.
t0xa added a commit that referenced this pull request Feb 7, 2012
@t0xa t0xa merged commit 69c2124 into t0xa:master Feb 7, 2012
@t0xa
Copy link
Owner

t0xa commented Feb 7, 2012

Thanks Raman.

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

Successfully merging this pull request may close these issues.

2 participants