both keys data and logData can be in PLIST