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 "<" automatically and when i debug the message contain valid format < instead of < the problem is with library
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/