It would be nice to have an option to replace characters within the logging message with another character.
A good use case for this would be to replace newlines with some other character, so that every line of the log file contains one logging message. This is of particular importance when using a RollingFileAppender with multiple processes on the same file. Then log lines can get intermixed, which makes the log practically unusable.
I am not sure that I understand the problem you are describing. The pattern layout has the
%nformat specifier which inserts the system specific EOL.