Platform compatibility
Requires macOS 15 or later.
Set up the control
1
Add a configuration
Go to MDM > Controls and open Event logging. Select the platform tab, then click Add configuration.
2
Configure the settings
Set each setting you want to enforce. See the settings below. On Windows, set at least one setting.
3
Select targeting
Choose which devices to apply the configuration to: all devices on that platform, specific device groups, or a custom target. Click Activate to deploy the configuration. Save keeps it inactive.
Settings
- macOS
- Windows
This is how many days the Mac keeps
/var/log/install.log. Any size cap on the log is removed so that it isn’t purged sooner.How it works
- macOS
- Windows
Primo runs a script on each Mac and checks the result with a policy. The script saves the Mac’s own rule for the install log, then sets its retention. The rest of the log configuration stays as macOS or an administrator left it.If someone edits the install log rule on the Mac, the policy fails and Primo runs the script again.When you remove the configuration, Primo puts back the Mac’s own rule.