Yes.  It will be relative to the directory from which the JVM started from.

Jake

On Thu, 26 May 2011 17:32:00 +0100
 Jiafan Zhou <zhoujia...@gmail.com> wrote:
The following log4j.properties uses a relative path for redirected file. Is
it valid?

log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.File=./output.log
log4j.appender.file.MaxFileSize=10MB
log4j.appender.file.MaxBackupIndex=5
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L -
%m%n


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org

Reply via email to