RE: How to use relative filename in log4j.properties?

2006-02-07 Thread Jacob Kjome
Quoting Zsolt <[EMAIL PROTECTED]>: > If that worked I would use it: > >${catalina.home}/logs/some.log > Have you set CATALINA_HOME as an OS environment variable? That's what Tomcat's .bat and .sh batch startup files, and service.bat Windows service installer use to set the value for catalina.hom

RE: How to use relative filename in log4j.properties?

2006-02-07 Thread Zsolt
If that worked I would use it: >${catalina.home}/logs/some.log Zsolt > >On 2/7/06, Zsolt <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I use logging-log4j-1.2.13 from tomcat-5.5.15. How can I use relative >> filenames to get the log files under tomcat/logs? >> >> Zsolt >> >> >> >> -

Re: How to use relative filename in log4j.properties?

2006-02-07 Thread Jacob Kjome
I second James' suggestion. However, if you really want to use relative paths, then you need to know what directory the VM is starting from. This depends on how you are starting Tomcat. I'll assume you are using plain vanilla Tomcat, not Tomcat bundled with JBoss or some other such package. If

Re: How to use relative filename in log4j.properties?

2006-02-07 Thread James Stauffer
Use something like: ${catalina.home}/logs/some.log On 2/7/06, Zsolt <[EMAIL PROTECTED]> wrote: > Hi, > > I use logging-log4j-1.2.13 from tomcat-5.5.15. How can I use relative > filenames to get the log files under tomcat/logs? > > Zsolt > > > > -