RE: Newbie how to place logfile under tomcat logs

2003-08-14 Thread Tim Davidson
I've done it! I was missing the first '/' i.e. URL url = this.getClass().getResource(/com/foo/bar/message.properties); -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 4:23 PM To: Log4J Users List Subject: RE: Newbie how to place logfile

RE: Newbie how to place logfile under tomcat logs

2003-08-14 Thread Tim Davidson
To: Log4J Users List Subject: RE: Newbie how to place logfile under tomcat logs Howdy, Thanks, thats a help but because of the setup of our application, I cant use the first two options, and I'd rather not define another properties file just to store ${CATALINA_HOME}/logs/logs.txt. Is there any

RE: Newbie how to place logfile under tomcat logs

2003-08-14 Thread Jacob Kjome
(Throwable t) { t.printStackTrace(); } PropertyConfigurator.configure(p); but its not picking up our file in the JAR -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 2:42 PM To: Log4J Users List Subject: RE: Newbie how to place logfile

RE: Newbie how to place logfile under tomcat logs

2003-08-14 Thread Shapira, Yoav
Howdy, Thanks, thats a help but because of the setup of our application, I cant use the first two options, and I'd rather not define another properties file just to store ${CATALINA_HOME}/logs/logs.txt. Is there any way I can do it programatically? What are the other options? No. It would be

RE: Newbie how to place logfile under tomcat logs

2003-08-14 Thread Tim Davidson
); -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 4:23 PM To: Log4J Users List Subject: RE: Newbie how to place logfile under tomcat logs Howdy, yeah, I'm using ant but I dont like the fact that it is hard-coded. It's not hard-coded, certainly

RE: Newbie how to place logfile under tomcat logs

2003-08-14 Thread Tim Davidson
at the tomcat-user-list archives, and I have even googled for log4j tomcat logs but without much luck. any help would be appreciated -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 1:45 PM To: Log4J Users List Subject: RE: Newbie how to place

RE: Newbie how to place logfile under tomcat logs

2003-08-14 Thread Shapira, Yoav
Howdy, this may be more a tomcat question so appologies if it is off-topic. I want to plcae the log file under %TOMCAT_HOME%\logs (where all the tomcat logs go). Reading the archives of this list or the tomcat-user list would've revealed answers, as this is a fairly common question. I have

RE: Newbie how to place logfile under tomcat logs

2003-08-12 Thread Shapira, Yoav
Howdy, yeah, I'm using ant but I dont like the fact that it is hard-coded. It's not hard-coded, certainly not more hard-coded than a properties file. I think I'll use the properties file option, we have a properties file already I'll just add the log4j properties to that. I don't suppose you