logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Grobmeier <grobme...@gmail.com>
Subject Re: Best Place to place log files
Date Sat, 05 Feb 2011 08:35:46 GMT
Hi

i think everybody does it in a different way, but the $tomcat/webapps
dir is probably not the best for the mentioned reasons. You could put
it in $tomcat/logs/yourwebapp or even in /var/log/webapp

Later case needs more rights.

Cheers
Christian

On Sat, Feb 5, 2011 at 8:35 AM, Umesh Awasthi <umeshawasthi@gmail.com> wrote:
> Hi All,
>
> I am working on a webapplication and it is going to use looging in good way
> for its import export process.so we need to store log files at some place so
> that when ever some needs to consult logfiles can do that.
>
> One thing we can do is to create afolder in the webapps and place alll such
> related files in this location but this approach seems to have one major
> issue the moment we deploy a new war all previosu logs will be deleted and
> we are lost.
>
> my question is in such case what is the best place to store your application
> related log files?
>
> --
> With Regards
> Umesh Awasthi
> http://www.travellingrants.com/
>



-- 
http://www.grobmeier.de

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message