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 (somehow, may be unlikely, but hey) then you'd lose the log files and any ability to work out what happened. p > 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 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 application, namely: >>> >>> WEBAPP/WEB-INF/logs >>> >> You're writing logs *inside* the webapp? Yikes! >> >> >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org >
signature.asc
Description: OpenPGP digital signature