Control Logging of CloudKit in Xcode

I often struggle to see my own log data with the heavy stream of CloudKit updates. Is there an easy way to filter that our or turn it on/off?

Answered by Frameworks Engineer in 890755022

By default Xcode streams all logs for the process when a debugger is attached which includes logs emitted by CloudKit.

Xcode provides similar support to Console to allow you to quickly filter logs, please see Customizing Logging Behavior While Debugging.

Otherwise, if there are specific log lines you believe should be suppressed, please feel free to file feedback including examples of the offending lines.

By default Xcode streams all logs for the process when a debugger is attached which includes logs emitted by CloudKit.

Xcode provides similar support to Console to allow you to quickly filter logs, please see Customizing Logging Behavior While Debugging.

Otherwise, if there are specific log lines you believe should be suppressed, please feel free to file feedback including examples of the offending lines.

Thanks, that's helpful. With Xcode filtering, what is the name of the subsystem I should target to remove CloudKit / iCloud messages?

Accepted Answer

You can use the com.apple.cloudkit subsystem filter

Control Logging of CloudKit in Xcode
 
 
Q