Not generated, but forwarded. Many kinds of logs, including java errors with backtraces. For example, for flme, I use syslog-ng with
source s_flume { file("/var/log/flume-ng/flume.log" program_override("flume") multi-line-mode(regexp) multi-line-prefix("[0-9]{2} ... [0-9]{4}") );};and this is enough for syslog-ng to parse multiline logs of any form. Any string that does not start with a timestamp - is a part of multiline message.
I forward this log to another syslog-ng instance using syslog protocol, and there I do not need any additional options - syslog-ng understands multiline (don't know if it's in RFC)
But when I forward these logs to fluentd - It doesn't understand this multiline format and it does not have an option to set the first line of a multiline message