Den 28/05/10 16.34, bugzi...@apache.org skrev:
XMLLayout should ensure that what it write is legal XML, either by escaping
illegal characters, removing them, or replacing them.
Until that happens the best you can do, is subclass XMLLayout to do the processing you need (removing invalid unicode characters, etc). It is not hard.

I've done the same with the similar class in logback.

--
  Thorbjørn Ravn Andersen  "...plus... Tubular Bells!"


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

Reply via email to