-
Notifications
You must be signed in to change notification settings - Fork 115
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
Chunking implmentation seems to be broken #22
Comments
I am getting this error on the graylog2 server, which appears to be caused by the issue reported here.
It seems to happen pretty consistently given a specific log message input. |
Hi, Thanks for finding this! Anton |
I submitted a #24 to fix this -- the current code didn't seem to be following the correct GELF header spec as per https://github.com/Graylog2/graylog2-docs/wiki/GELF. |
Thanks. However this code will break compatibility with graylog2-server < 0.9.6. |
I haven't tried it with < 0.9.6, but I don't think so... if you look at the GELF wiki history it seems like it has always been this way, except for during one day on Jul 15th when someone changed it, and than lennart reverted the change. Besides, if graylog has changed it in 0.9.6 you are going to have to release the changes anyway, with a note that it only works with 0.9.6 and above. |
That's quite different from: https://github.com/Graylog2/graylog2-server/blob/0.9.5/src/main/java/org/graylog2/messagehandlers/gelf/GELFHeader.java But you're right, at some point I should migrate to 0.9.6. |
Hmm, one would think this would have been an important change to highlight in the graylog 0.9.6 release notes! |
I'll note that on Wiki. |
While developing gelfino (a tiny gelf server) I used your gelf client as a bench to test message send, the sequence and count fields are wrong (I get 52 53 as values) I think its related to the way int's are converted to bytes (gelf4r seems to do this right)
Iv used both gelf4r and gelf4j and they work fine,
Thanks
Ronen
The text was updated successfully, but these errors were encountered: