t0xa / gelfj

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

Tcp delimiter #108

Open Raghava2016 opened 7 years ago

Raghava2016 commented 7 years ago

For GELF-TCP input, null delimiter (\0) is not always correct. New line character is the default delimiter. Added delimiter property to GelfAppender class to make this configurable. It's optional and make sense only if chosen protocol is TCP. If it's not provided, null delimiter is default.