General Settings & Audit Logging
The General Settings tab controls system auditing and automated database maintenance for the wp_adfuz_audit_logs table.
To access General Settings, navigate to WordPress Admin > AdFuz > Settings and select General.
Audit Log Configuration
Section titled “Audit Log Configuration”[ Audit Log ]Enable Audit Logging: [ (ON) Toggle ]Write admin actions to the audit log table.
Auto-prune Logs After (days): [ 11 ]Logs older than this will be deleted automatically. 0 = never.Settings Breakdown:
Section titled “Settings Breakdown:”-
Enable Audit Logging (Toggle)
- When Enabled (ON): Every create, update, delete, and status mutation performed on campaigns, ads, and ad spaces is recorded in the relational database with actor username, timestamp, and IP address.
- When Disabled (OFF): Disables mutation tracking to reduce database write operations on resource-constrained hosting.
-
Auto-prune Logs After (days)
- Enter the retention threshold in days (e.g.
30days or60days). - Records older than the specified day count are automatically purged by WordPress background cron tasks to keep your database lean.
- Set to
0to retain all logs indefinitely.
- Enter the retention threshold in days (e.g.
Step-by-Step Configuration
Section titled “Step-by-Step Configuration”- Go to AdFuz > Settings > General.
- Toggle Enable Audit Logging to ON.
- Enter your retention window in Auto-prune Logs After (days) (e.g.,
30). - Click the blue Save Settings button.