Added the enviroment to the log statement