https://bz.apache.org/bugzilla/show_bug.cgi?id=58470

            Bug ID: 58470
           Summary: xml message
           Product: Log4j
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: Other
          Assignee: [email protected]
          Reporter: [email protected]

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_0>0200</Field_0>
    <Field_3>000000000</Field_3>
    <Field_4>000000000</Field_4>
    <Field_7>000000000</Field_7>
    <Field_11>000000000</Field_11>
    <Field_12>000000000</Field_12>
    <Field_13>000000000</Field_13>
    <Field_17>000000000</Field_17>
    <Field_32>000000000</Field_32>
    <Field_35>000000000</Field_35>
    <Field_37>000000000462</Field_37>
    <Field_41>7000</Field_41>
    <Field_43>CAI EG</Field_43>
    <Field_48>00000000000000000000000000000000000000000000</Field_48>
    <Field_49>818</Field_49>
    <Field_52>000000000</Field_52>
    <Field_60>000000000+000</Field_60>
    <Field_103>01000000000</Field_103>
    <Field_256>base24</Field_256>
    <Field_257>000000000</Field_257>
</ISOMessage>
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

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to