fetch the user enviroment when uploadlog