Re: Issue with xml logging in log4j

2007-06-19 Thread Jacob Kjome
XML Layout intentionally writes a file with no valid root element. You need to wrap the file in a root element. An easy way to do this is to use DTD entity includes or use XMLInclude. Or, load it as a DocumentFragment into a full Document using the DOM. BTW, you should post this to the lo

Issue with xml logging in log4j

2007-06-07 Thread rajesh
hi, I'm using log4j for logging. I'm doing this using XmlLayout. When i logged a message it is logging as shown below And i'm using xslt to view the log files. But when i'm try to log like this i'm not able to view using the xslt. Need help in this regard. thanks & regards, Rajshekhar