RE: logging in multiple tomcat web applications

2010-04-29 Thread Caldarale, Charles R
> From: Jamie [mailto:ja...@stimulussoft.com] > Subject: Re: logging in multiple tomcat web applications > > I tried the catalina.base variable but as far as i can see it puts it > in Tomcat home dir not the webapp dir! As stated before, writing logs to a webapp's directory

Re: logging in multiple tomcat web applications

2010-04-29 Thread Jamie
I tried the catalina.base variable but as far as i can see it puts it in Tomcat home dir not the webapp dir! On 2010/04/29 12:34 PM, Pid wrote: On 29/04/2010 11:27, Jamie wrote: Hi There We use multiple web applications running inside Tomcat and need a painless way for each app to write t

RE: logging in multiple tomcat web applications

2010-04-29 Thread Karthik Nanjangude
: Thursday, April 29, 2010 5:20 PM To: Tomcat Users List Subject: Re: logging in multiple tomcat web applications If we do that, then it will be sitting in the webapp directory where if permissions are not set correctly, it is readable by the world. On 2010/04/29 01:47 PM, David kerber wrote: >

Re: logging in multiple tomcat web applications

2010-04-29 Thread Jamie
If we do that, then it will be sitting in the webapp directory where if permissions are not set correctly, it is readable by the world. On 2010/04/29 01:47 PM, David kerber wrote: Just move the log folder up a level. On 4/29/2010 7:04 AM, Jamie wrote: Ok. We are not using Tomcat's web app de

Re: logging in multiple tomcat web applications

2010-04-29 Thread David kerber
Just move the log folder up a level. On 4/29/2010 7:04 AM, Jamie wrote: Ok. We are not using Tomcat's web app deploy feature at all. We manage the deployment of instances. Where then should all the configuration and log data go? I presume with Windows 7, they have protections storing the data i

Re: logging in multiple tomcat web applications

2010-04-29 Thread Jamie
Ok. We are not using Tomcat's web app deploy feature at all. We manage the deployment of instances. Where then should all the configuration and log data go? I presume with Windows 7, they have protections storing the data in the Program Files directory in any case. Should they go in user.home?

Re: logging in multiple tomcat web applications

2010-04-29 Thread Mark Thomas
On 29/04/2010 05:45, Jamie wrote: Aah.. Just what I was looking for.. Thanks! Is it bad to write logs inside WEB-INF? Generally, yes. When the application gets (un|re)deployed, the logs will get deleted. That isn't usually what you want. Mark ---

Re: logging in multiple tomcat web applications

2010-04-29 Thread Pid
On 29/04/2010 11:45, Jamie wrote: > > Aah.. Just what I was looking for.. Thanks! Is it bad to write logs > inside WEB-INF? Writing anything inside a deployed webapp isn't such a good idea. If it's undeployed, then *paf* all your content is gone. If the app got undeployed because of a problem (s

Re: logging in multiple tomcat web applications

2010-04-29 Thread Jamie
Aah.. Just what I was looking for.. Thanks! Is it bad to write logs inside WEB-INF? Jamie On 2010/04/29 12:34 PM, Pid wrote: On 29/04/2010 11:27, Jamie wrote: Hi There We use multiple web applications running inside Tomcat and need a painless way for each app to write to its own log fil

Re: logging in multiple tomcat web applications

2010-04-29 Thread Pid
On 29/04/2010 11:27, Jamie wrote: > Hi There > > We use multiple web applications running inside Tomcat and need a > painless way for each app to write to its own log file. > > In our scenario, each web application has its own log4j.xml file and the > corresponding log file for each instance is s

logging in multiple tomcat web applications

2010-04-29 Thread Jamie
Hi There We use multiple web applications running inside Tomcat and need a painless way for each app to write to its own log file. In our scenario, each web application has its own log4j.xml file and the corresponding log file for each instance is stored in a unique location for that applica