This function saves the account's log archive settings.
Note:
You must pass either the archive_logs
or the prune_archives
parameter.
archive_logs | integer Whether to archive log files to your home directory after the system processes statistics.
Note:
Example: archive_logs=1 |
prune_archive | integer Whether to remove the previous month's archived logs from the
Note:
Example: prune_archive=1 |
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
}
}