Hi Guys,

Our developers use the same log4j configuration file, but have separate instances of 
tomcat on the server. At the moment we have to do a search and replace for the File 
attribute to make sure the directory is correct per developer instance.

At the moment this works for an instance ...

log4j.appender.ErrorsA.File=d:/jakarta-tomcat-5.0.25/logs/iq2-sys-errors.log

I have set my user.dir property with

-Duser.dir=%CATALINA_HOME%

And printing the value in a JSP gives

d:\jakarta-tomcat-5.0.25

Yet when trying

# trying to go forward into tomcat logs from relative user.dir
log4j.appender.ErrorsA.File=logs/iq2-sys-errors.log

give error 

java.io.FileNotFoundException: logs\iq2-core-actions.log (The system cannot find the 
path specified)

Thanks, Allistair


<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com";>www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to