gicing up and logging env