I want to know too. Currently I use 2 properties files, one for win32, one for linux. When I build my app, I let ant detect which to use.
-----Original Message----- From: Dan Allen [mailto:[EMAIL PROTECTED] Sent: April 2, 2003 5:05 PM To: Struts-User List Subject: [OT] log4j file path issue I am working with a jsp developer who uses windows, where I use linux. When he checks out a copy of the application in the revision system, the log4j.properties file is not playing fair. I have in it log4j.appender.default.File=/var/tomcat4/logs/struts.log But his path to tomcat is not the same. If I try to do log4j.appender.default.File=struts.log then in linux it tries to make the file in / and doesn't understand relative paths. (Note: I am initializing log4j.properties in a init servlet like suggested in the manual). How do I specify that I want the log file in the "logs" directory of the tomcat installation. Even if I have to set something in the init servlet, I will do that, but HOW HOW HOW??? argh...apart from having 2 log4j.properties files. Dan -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Daniel Allen, <[EMAIL PROTECTED]> http://www.mojavelinux.com/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Windows: where do you want your data to disappear to today? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]