David Budworth wrote:
> Adding one would be trivial (in fact, it's as easy as adding a single string
> to the log4j properties)
>
> The problem, is the log would never be a valid XML doc untill the app server
> is shut down.
Not the actual log file, but that's why XML has entities :-)
Just put this into a file:
<!DOCTYPE log PUBLIC "log" "logfile.dtd" [
<!ENTITY introduction SYSTEM "logfile.xml">
]>
<log>
&logfile;
</log>
--
Then *that* file will read as valid XML.
/Rickard
--
Rickard �berg
Software Development Specialist
xlurc - Xpedio Link�ping Ubiquitous Research Center
Author of "Mastering RMI"
Email: [EMAIL PROTECTED]
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development