RE: Regarding log4J creating logs in tomcat logs folder using FileAppender

2009-06-22 Thread Caldarale, Charles R
> From: abhishek reddy [mailto:abhishek.c1...@gmail.com] > Subject: Re: Regarding log4J creating logs in tomcat logs folder using > FileAppender > > i think it is "catalina.base" Yes, sorry for the earlier misdirect. - Chuck THIS COMMUNICATION MAY CONTAIN CONF

Re: Regarding log4J creating logs in tomcat logs folder using FileAppender

2009-06-22 Thread abhishek reddy
rieve the tomcat base path? >> >> I have tried this way System.getProperty("tomcat.base");the >> value is comming as null >> >> >> On Mon, Jun 22, 2009 at 6:25 PM, Caldarale, Charles R < >> chuck.caldar...@unisys.com> wrote: >>

Re: Regarding log4J creating logs in tomcat logs folder using FileAppender

2009-06-22 Thread abhishek reddy
> > > On Mon, Jun 22, 2009 at 6:25 PM, Caldarale, Charles R < > chuck.caldar...@unisys.com> wrote: > >> > From: abhishek reddy [mailto:abhishek.c1...@gmail.com] >> > Subject: Regarding log4J creating logs in tomcat logs folder using >> > FileAppende

Re: Regarding log4J creating logs in tomcat logs folder using FileAppender

2009-06-22 Thread abhishek reddy
; From: abhishek reddy [mailto:abhishek.c1...@gmail.com] > > Subject: Regarding log4J creating logs in tomcat logs folder using > > FileAppender > > > > but the log files are created under tomcat bin folder > > Because you're using a relative path, which should be avoided, since yo

RE: Regarding log4J creating logs in tomcat logs folder using FileAppender

2009-06-22 Thread Caldarale, Charles R
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Subject: RE: Regarding log4J creating logs in tomcat logs folder using > FileAppender > > > but the log files are created under tomcat bin folder > > Because you're using a relative path, which should

RE: Regarding log4J creating logs in tomcat logs folder using FileAppender

2009-06-22 Thread Caldarale, Charles R
> From: abhishek reddy [mailto:abhishek.c1...@gmail.com] > Subject: Regarding log4J creating logs in tomcat logs folder using > FileAppender > > but the log files are created under tomcat bin folder Because you're using a relative path, which should be avoided, since you have

Regarding log4J creating logs in tomcat logs folder using FileAppender

2009-06-22 Thread abhishek reddy
hi every one, Iam new to Log4j... How to create log files in tomcat logs folder using Apache Log4j FileAppender class? This is what i was doing new FileAppender(layout,"todayslog",true); but the log files are created under tomcat bin folder...how t change this? Also let me kno