I am trying to use LogglyBufferringAppender with a bufferSize=2. It's posting the data to loggly. However, the logged data is not correctly parsed.
unparsed: message:["{\"timestamp\":\"2016-12-21T15:39:23.420+11:00\",\"level\":\"INFO\",\"hostName\":\"HostName\",\"process\":\"w3wp\",\"threadName\":\"11\",\"loggerName\":\"LoggerName\",\"message\":\"log message.\",\"IPAddress\":\"::1\",\"User_ID\":1,\"MaskedSessionID\":\"*****************\",\"User\":\"Mr. XXX for test test(57237)\"}","{\"timestamp\":\"2016-12-21T15:39:23.626+11:00\",\"level\":\"INFO\",\"hostName\":\"HostName\",\"process\":\"w3wp\",\"threadName\":\"11\",\"loggerName\":\"LoggerName\",\"message\":\"log message.\",\"IPAddress\":\"::1\",\"User_ID\":1,\"MaskedSessionID\":\"*****************\",\"User\":\"Mr. XXX for test test(57237)\"}","{\"timestamp\":\"2016-12-21T15:39:34.684+11:00\",\"level\":\"INFO\",\"hostName\":\"HostName\",\"process\":\"w3wp\",\"threadName\":\"11\",\"loggerName\":\"LoggerName\",\"message\":\"log message.\",\"IPAddress\":\"::1\",\"User_ID\":1,\"MaskedSessionID\":\"*****************\",\"User\":\"Mr. XXX for test test(57237)\"}"]
I have been using LogglyAppender with no issue. The reason to use LogglyBufferringAppender is to decrease the network traffic and log 2 entries in a go.