Re: Where to store log files from packed WAR file apps

2004-03-03 Thread Harry Mantheakis
Thanks to everyone for the replies to my question! Lots there for me to look into - JNDI, Alpha_2, and Chainsaw. Phew! Sorry, for *my* slow response: my ISP has dropped all my mail today, of all days - so I went online to get your answers. Regards Harry Mantheakis London, UK

Re: Where to store log files from packed WAR file apps

2004-03-03 Thread Harry Mantheakis
Thanks to everyone for the replies to my question! Lots there for me to look into - JNDI, Alpha_2, and Chainsaw. Phew! Sorry, for *my* slow response: my ISP has dropped all my mail today, of all days - so I went online to get your answers. Regards Harry Mantheakis London, UK

Re: Where to store log files from packed WAR file apps

2004-03-03 Thread Jacob Kjome
You should never log to within the directory structure of your webapp if you want your app to be portable. Provide configuration in web.xml as to where you want the log file to go which an admin can override via proprietary configuration. For instance, in Tomcat... Then in your Log4j in

RE: Where to store log files from packed WAR file apps

2004-03-03 Thread Shapira, Yoav
Hi, >Might be wrong on this but why not setup environment variables and reflect >those in ant? That way you should >be portable, providing those env vars exist. >BTW, take off the tomcat greeting page from your machine ;) That's one possible solution. Another is to setup a build.properties file

RE: Where to store log files from packed WAR file apps

2004-03-03 Thread Yiannis Mavroukakis
: 03 March 2004 09:34 To: Tomcat Users List Subject: Where to store log files from packed WAR file apps Hello Now that I've got my Ant build/deploy scripts working nicely, I'm tempted to start running my applications out of packed WAR files. I cannot figure out if there is a *portab

Where to store log files from packed WAR file apps

2004-03-03 Thread Harry Mantheakis
Hello Now that I've got my Ant build/deploy scripts working nicely, I'm tempted to start running my applications out of packed WAR files. I cannot figure out if there is a *portable* way to specify paths for where my Log4J log files should be saved. I assume I could use the 'catalina.home' prope