Current Logs Output Is a Single Line - How do I make multi-newlines at specific points

Good Day All,

I have a problem whereby my current logs are outputting in a single line.

The backstory is that our application is receiving messages from another party and within those messages, we have /n, so when we output it into html, we can easily see the contents in multi lines.

Currently, I have a requirement to make it more readable from the raw logs end -> I need to include lines at specific points to make sure that the final text output is more readable (like the mentioned html's /n) in the logs itself.

Can anyone suggest to me how I can ensure that my log outputs to multi-line at specific points in the logs itself?

I read that there is something called Multiline codec plugin, how should I go about using it?


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.