Thanks for the quick reply Check my email I have just written to chainsaw mailing list --------------------------------------------------------------------------------------- Hello,
I hope I dont disturb this mailing list but webpage of Apache Chainsaw directed me here (http://logging.apache.org/chainsaw/mail-lists.html) So, I would like to generate log4j xml by log4php for Chainsaw, but Chainsaw drops some error during the processing the log file. The errors are : Parsing error on line 19 and column 32 XML document structures must start and end within the same entity. Check this overview : http://pastebin.com/bX3A2Dmm My question is, what cause the parser error ? And xml starts and ends with the same entity <log4j:eventSet ...> </log4j:eventSet> then what is the real problem ? Can you point at what could be wrong ? Thanks in advance. Csaba --------------------------------------------------------------------------------------- Christian grobmeier wrote: > > Hello Csaba, > >> I would like to read the log4php logs by Apache Chainsaw logviewer, but >> it >> only accept log4j xml, how can I produce log4j xml log by log4php. > > Attention: > https://issues.apache.org/jira/browse/LOG4PHP-87 > >> I saw the api, where i guess the LoggerLayoutXml.setLog4jNamespace should >> be >> used, but there is no example. >> Can somebody show me how to configure the log4php to produce log4j xml. > > The docs are wrong, thatnks for the pointer. The param you need to set is: > > <layout class="LoggerLayoutXml"> > > </layout> > > Please let us know about your experiences. I would like to make > Chainsaw work with log4php, but have not tried it myself. If you have > trouble, pleaes let us know. > > Cheers > Christian > >> >> Thanks in advance. >> >> Csaba >> >> PS: according to the documentation here >> http://logging.apache.org/log4php/docs/appender/layout.html#LoggerLayoutXml >> LoggerLayoutXml only has one and only configurable parameter is >> :locationInfo >> It looks like not enough for me. >> >> -- >> View this message in context: >> http://old.nabble.com/settings-of-log4php-for-Apache---Chainsaw-logviewer-%28log4j-format%29-tp32232747p32232747.html >> Sent from the Log4php - Users mailing list archive at Nabble.com. >> >> > > > > -- > http://www.grobmeier.de > > -- View this message in context: http://old.nabble.com/settings-of-log4php-for-Apache---Chainsaw-logviewer-%28log4j-format%29-tp32232747p32234061.html Sent from the Log4php - Users mailing list archive at Nabble.com.