For example , I have two virtual host settings in server.xml , one is "jacky.net" ,the other is "jacky.com" How do I output "jacky.net" and "jacky.com" to the different catalina file , then I can categorize it easier when a exception throw out. Now I am survering log4j and trying it but didn't work yet . If someone has better opinion , please reply to me, thank you very much .
############################################################### <Host name="jacky.net" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> </Host> <Host name="jacky.com" appBase="webapps2" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> </Host> ################################################################