spy-env: programmatically enable (or not) the environment logging
spy-env: remove py3-isms