fix relative log path error when deploying outside of root dir