Use environment variables to control logging, default to /dev/null