added BASE_LOG_FILE support for heroku