Last modified April 22, 2025

manageSettingsLogging

This function allows you to modify the Logging Settings.
Parameter name Type Description Possible values Example
debug Boolean Enable/Disable debug logging.
  • 0 - Disabled
  • 1 - Enabled
--debug=1
log_rotate Integer Specify the number of days to retain log files. Logs that exceed the configured days will be automatically deleted. Set this value to 0 to keep logs indefinitely.   --log_rotate=10

Example Call JETAPI

wp jetbackup manageSettingsLogging --debug=0 --log_rotate=7
Saved Successfully
+---------------+------------+
| Debug Enabled | Log Rotate |
+---------------+------------+
| No            | 7          |
+---------------+------------+