Use local rather than env variables to determine log and host