t0xa / gelfj

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

Develop #107

Closed Raghava2016 closed 8 years ago

Raghava2016 commented 8 years ago

For GELF-TCP input, delimiter is not always null(\0) delimiter. It can be new line character(\n) as well. As per docs, new line delimiter is the default option. Added delimiter property to GelfAppender class to make it configurable. It's optional config and only make sense if choosen protocal is TCP. if it's not provided, default value is null(\0) delimiter as before.