tbf thats what a good logging lib is for, and if printenv can be run within the machine, then it's already too late