Fixing WaitForEnvironment Status Logging