SystemLogging
The payload that configures system logging.
Declaration
object SystemLoggingProperties
| Name | Type | Description |
|---|---|---|
Processes | SystemLogging.Processes | Not to be used. |
Subsystems | SystemLogging.Subsystems | A dictionary enabling the logging level for subsystems. See |
System | SystemLogging.System | This dictionary has one key, |
Discussion
Specify com.apple.system.logging as the payload type.
Profile availability
Device channel | iOS, macOS, Shared iPad, tvOS, visionOS, watchOS |
User channel | macOS |
Allow manual install | iOS, macOS, tvOS, visionOS, watchOS |
Requires supervision | NA |
Requires user-approved MDM | NA |
Allowed in user enrollment | NA |
Allow multiple payloads | iOS, macOS, Shared iPad, tvOS, visionOS, watchOS |
Profile example
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>Processes</key>
<dict/>
<key>Subsystems</key>
<dict>
<key>com.example.app</key>
<dict>
<key>DEFAULT-OPTIONS</key>
<dict>
<key>Level</key>
<dict>
<key>Enable</key>
<string>Info</string>
</dict>
<key>Default-Privacy-Setting</key>
<string>Public</string>
</dict>
</dict>
</dict>
<key>PayloadIdentifier</key>
<string>com.example.mysystemloggingpayload</string>
<key>PayloadType</key>
<string>com.apple.system.logging</string>
<key>PayloadUUID</key>
<string>0ff59613-35e9-495c-88c8-01963de4ac80</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</array>
<key>PayloadDisplayName</key>
<string>System Logging</string>
<key>PayloadIdentifier</key>
<string>com.example.myprofile</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>0fbfa83e-c8ec-49d0-b50c-3acc3c05749c</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>