开发者

how can I configure log4j so that it stops showing xml escape characters

Hi In my application we are logging the xml requests to a file using patternlayout.开发者_如何转开发 The xml has a password field. but in log log4 it shows < &gt

I want it to show '<' and '>'

how can I do that?

Thanks, Manoj


I'm sure it isn't log4j's fault, PatternLayout does not convert characters to entities. It must be happening when the XML is constructed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜