I have have a need to replace newlines with a different character
sequence on messages going to my SyslogAppender.  I have quite a few
programs sending log info to syslog so I was hoping that I could do
this completely within the xml configuration file but I can't seem to
find a way to make this happen.  Is this correct?  Is there a way to
perform a search and replace within the message field via the xml
config file?

The fallback is to write some code to do the configuration.  I'm
thinking that the best way to do this in 1.2.17 is to write a class
that extends PatternLayout and then reference that from the xml file.
Is this the cleanest way to implement this?

thanks!
Robert.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org

Reply via email to