Adds environment to log output