Update test to use global ENVIR variable and create a short log file.