You will have problems using "\", as that is the escape character in java. Try using "\\" instead.
Look at: http://java.sun.com/j2se/1.4/docs/api/java/util/Properties.html#load(java.io.InputStream) For further using property files. Cheers, Scott -- Scott Farquhar :: [EMAIL PROTECTED] Atlassian :: http://www.atlassian.com Supporting YOUR J2EE World Nair, Ranjini wrote: > Hi log4j users, > I need to specify the absolute path for the log file in my configuration > file but don't seem to be able to do it. I've tried using > DailyRollingFileAppender and DailyRollingFileAppenderExt classes and neither > seem to accept the path. > > Here's a snippet of my code in the configuration file, > > log4j.appender.R2=org.apache.log4j.DailyRollingFileAppenderExt > log4j.appender.R2.File=clara_error.log > > I need to be able to specify a directory name in front of the file name (eg. > \logfiles\clara_error.log). Does anyone know how this can be resolved? > > Thanks in advance, > Ranjini. > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>