I am using the log4j2 JSON layout with compact="true" setting. papertrails (papertrailsapp.com) is not recognizing the data as JSON and their support folks think the issue is that remote_syslog2 is adding newline characters.
Is there a way to omit remote_syslog2 from doing this?
I am using the log4j2 JSON layout with
compact="true"setting. papertrails (papertrailsapp.com) is not recognizing the data as JSON and their support folks think the issue is that remote_syslog2 is adding newline characters.Is there a way to omit remote_syslog2 from doing this?