[logback-user] About the file location in File appender

Thorbjoern Ravn Andersen ravn at runjva.com
Thu Aug 20 22:43:13 CEST 2009


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!"



More information about the Logback-user mailing list