Added extra logging for iCloud.