Adding env detection thing in output.
Fixed the damned logging in prod.
Merge branch 'master' into front-end