balaji ganesan
2003-01-16 18:43:02 UTC
Hi All,
I'm using log4j-1.2.7 in my appln, deployed as a web appln in an
application server. The following is the log4j.properties file i'm using.
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.MaxFileSize=100KB
log4j.appender.R.MaxBackupIndex=2
log4j.appender.R.File=test.log
1. How do i specify a relative path to this file name, so that it can be
created under j2ee/home/log/test.log. This j2ee/home may be under some
other top level dir ?
2. If i just specify any relative path in the property file, its not
creating the log ?
Thanks,
G.Balaji
I'm using log4j-1.2.7 in my appln, deployed as a web appln in an
application server. The following is the log4j.properties file i'm using.
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.MaxFileSize=100KB
log4j.appender.R.MaxBackupIndex=2
log4j.appender.R.File=test.log
1. How do i specify a relative path to this file name, so that it can be
created under j2ee/home/log/test.log. This j2ee/home may be under some
other top level dir ?
2. If i just specify any relative path in the property file, its not
creating the log ?
Thanks,
G.Balaji