
20 Aug
2009
20 Aug
'09
8:43 p.m.
Klaus Teller skrev:
That's new to me. I don't recall that log4j is interpreting relative paths this way. In a web app for instance, I would take "relative" to mean relative to the deployment directory of the application. That is, if my app is deployed in ${TOMCAT_PATH}/webapps/myapp, a my log file my_log.txt would be located precisely in ${TOMCAT_PATH}/webapps/myapp.
Usually relative paths are relative to the current working directory, which I believe is undefined for a web application. -- Thorbjørn Ravn Andersen "...plus... Tubular Bells!"