This function saves the account's log archive settings.
Note:
You must pass either the archive_logs
or the prune_archives
parameter.
archive | integer Whether to archive log files to your home directory after the system processes statistics.
Note:
Example: |
prune | integer Whether to remove the previous month's archived logs from the
Note:
Example: |
HTTP Request was successful.
apiversion | integer The version of the API. |
func | string The name of the method called. |
module | string The name of the module called. |
object |
uapi --output=jsonpretty \ --user=username \ LogManager \ set_settings
{- "apiversion": 3,
- "func": "set_settings",
- "module": "LogManager",
- "result": {
- "data": null,
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}