String esMsg = header + esBody;
// defaults to UTF-8
MultiportSyslogHandler handler = new MultiportSyslogHandler(
1000, 10, new ChannelProcessor(new ReplicatingChannelSelector()),
new SourceCounter("test"), "port",
new ThreadSafeDecoder(Charsets.UTF_8),
new ConcurrentHashMap<Integer, ThreadSafeDecoder>(),
null);
ParsedBuffer parsedBuf = new ParsedBuffer();