Correct logging around loading environment variables