So I'm still tryin to get Log4j all setup but keep running into road blocks. Now I'm running into issues where my knowledge of applets is lacking and was hoping I could find some help.
Plan A) What I would like to do is have one log4j.xml configuration file stored directly under my tomcat directory (In other words I don't want a seperate log4j.xml file for each war that I have, I just want them all to share one config file). However I don't know how to give my applet access to something thats not in the directory for the applet. So directory structure like this: tomcat ..log4j.xml ..webapps ....mypivotapp ....someotherapp Plan B) If I can't do (A) then my startup script can make a copy of the log4j.xml and put it directly in the mypivotapp directory. Although looks like by default the applet can't see it there. Looking into the codebase_lookup property shows that when this is false applets only use the jars in their classpath. Will enabling this help, documentation says that there is a performance hit for doing so, which leads me to believe there are better ways. Plan C) My startup script could import my log4j.xml file into my jar file on my classpath. ex. tomcat/webapps/mypivotapp/lib/mylib.jar The goal is to just need to edit one file to alter all logging. Thanks! -- View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Help-understanding-classpaths-codebase-with-applets-tp914940p914940.html Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
