I asked the same type of question some time back and here is the
solution that I got
http://www.mail-archive.com/[EMAIL PROTECTED]/msg10021.html
I didn't try it because the new classes are not yet in the final release
of log4J - they are only on sandbox.
- Praveen
Duncan Smith wrote on 12/10/
A_HOME or ${CATALINA_HOME}.
>
> Yoav Shapira
> Millennium ChemInformatics
>
>
> >-Original Message-
> >From: Praveen Alavilli [mailto:[EMAIL PROTECTED]
> >Sent: Friday, November 14, 2003 2:22 PM
> >To: Log4J Users List
> >Subject: how to
Hi,
I am trying to configure a DailyRollingFileAppender for my test app.
I want to set the log file to be in my server's (tomcat) log dir along
with other log files. But if set the File path as
log4j.appender.MyappLog.File=${env.CATALINA_HOME}/logs/myapp.log
it throws this error:
log4j: setFile