More logging and fixes for resource checker.