       
       // Check for RotateUsedKey Preference
       let rotateKey: Bool = getRotateUsedKeyPreference()
-      rotateKey ? os_log("Set to rotate key", log: Check.log, type: .default) : os_log("Not set to rotate key", log: Check.log, type: .default)
+      os_log("RotateUsedKey Prefences is set to %{public}@", log: Check.log, type: .default, String(describing: rotateKey))
       
       // Check for RemovePlist Preferences
       let removePlist: Bool = getRemovePlistKeyPreference()
-      removePlist ? os_log("RemovePlist Pref is set to True...", log: Check.log, type: .default) : os_log("RemovePlist Pref is set to False..", log: Check.log, type: .default)
+      os_log("RemovePlist Prefences is set to %{public}@", log: Check.log, type: .default, String(describing: removePlist))
       
       // Check to see if our recovery key exists at the OutputPath Preference.
       let recoveryKeyExists: Bool = checkFileExists(path: filepath)
-      recoveryKeyExists ? os_log("Recovery Key was found on disk...", log: Check.log, type: .default) : os_log("Recovery Key was found on disk...", log: Check.log, type: .default)
       
       if !recoveryKeyExists && !removePlist && rotateKey {
         // If key is missing from disk and we aren't supposed to remove it we should generate a new key...
-        os_log("Key is missing at %{public}@, and RemovePlist is False. And RotateKey is True, Attempting to generate a new one...", log: Check.log, type: .error, String(describing: filepath))
+        os_log("Key is missing at %{public}@, and RemovePlist is False. And RotateKey is True, Attempting to generate a new key...", log: Check.log, type: .error, String(describing: filepath))
         do {
           try _ = rotateRecoveryKey(the_settings, filepath: filepath)
         } catch let error as NSError {

  }
  
  func checkFileExists(path: String) -> Bool {
    os_log("running checkFileExists()", log: Check.log, type: .default)
    let fm = FileManager.default
    if fm.fileExists(atPath: path) {
      return true
    } else {
      return false
    }
  }

    outPipe.fileHandleForReading.closeFile()
    
    if outputData.count == 0 {
      os_log("Error: Found nothing in output data", log: Check.log, type: .error)
      throw FileVaultError.outputPlistNull
    }
    
