t0xa / gelfj

Graylog Extended Log Format (GELF) implementation in Java and log4j appender without any dependencies.
https://github.com/t0xa/gelfj/wiki
Other
186 stars 116 forks source link

Do not GZIP TCP stream #61

Closed michielproce closed 11 years ago

michielproce commented 11 years ago

Do not use GZIP, as the headers will contain \0 bytes. graylog2-server uses \0 as a delimiter for TCP frames.

See also: https://github.com/Graylog2/graylog2-server/issues/127

lennartkoopmann commented 11 years ago

+1, this is correct

The TCP GELF input of graylog2-server does only support uncompressed data because of the NUL byte deframing.