Hi All:

I am looking at https://issues.apache.org/jira/browse/LOG4J2-2195

Looking at our documentation for PatternLayout, the way I interpret
"suffix" is that it is a string printed _after_ the stack trace is printed
out. Makes sense, handy. The "separator" attribute is supposed to represent
the separation between each element of a stack trace and is set to the
system line separator by default. This does not work in certain
combinations, hence the ticket.

What the code currently does and tests is that the suffix is printed at the
end of each stack trace element. By default is suffix is an empty string.

You cannot print a single string at the end of a stack trace.

What I propose is:
- suffix only prints at the end of the stack trace
- separator prints at the end of each stack trace element

Thoughts?

Gary

Reply via email to