Hi, How to set a relative path for the log4j log file ?
I would like to set its location to : webapps\<myapp>\logs With an absolute path it works but the development (Tomcat) and production (Jrun) machines don't have the same directory structure and I have to change the file location before each deployment. My log4j configuration file in WEB-INF\classes is : log4j.rootCategory=DEBUG, RFA log4j.appender.RFA=org.apache.log4j.RollingFileAppender log4j.appender.RFA.File=D:/Projects/RegBL/Source/webapps/regbl/logs/regbl.lo g log4j.appender.RFA.MaxFileSize=100KB log4j.appender.RFA.MaxBackupIndex=1 log4j.appender.RFA.layout=org.apache.log4j.PatternLayout log4j.appender.RFA.layout.ConversionPattern=%d{DATE} %-5p %c{1} : %m%n Thanks Adriano Labate -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>