Bug 58470 - xml message
Summary: xml message
Status: NEW
Alias: None
Product: Log4j - Now in Jira
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC All
: P2 major
Target Milestone: ---
Assignee: log4j-dev
Depends on:
Reported: 2015-10-01 08:52 UTC by ahmed elattar
Modified: 2015-10-06 03:28 UTC (History)
1 user (show)


Note You need to log in before you can comment on or make changes to this bug.
Description ahmed elattar 2015-10-01 08:52:08 UTC
hi i am using log4j2 and the problem is when i use event.getLog4jLogger().debug(event.getMessage());
any xml in message  log file created like below

<ISOMessage direction=incoming>
	<Field_43>CAI EG</Field_43>
as you see the problem is all open tags "<" converted to "&lt;" automatically and when i debug the message contain valid format < instead of &lt; the problem is with library
Comment 1 Gary Gregory 2015-10-06 03:28:31 UTC
This is the bug tracking system for Log4j version 1 which is EOL.

For version 2, please use https://issues.apache.org/jira/browse/log4j2/