Hmm yeah, I see your point, but I see the newlines not really as message formatting but rather protocol stuff for the loggly handler. That said, it could actually be part of the JsonFormatter as a constructor option IMO. That could be useful for other cases as well like if you want to produce a log file with one-line-per-record json formatted records.