POST /api/admin/set_diagnostic_log_filter/v1
Changes the diagnostic log filter dynamically.
$ curl -i 'http://localhost:8000/api/admin/set_diagnostic_log_filter/v1' \
-H 'Content-Type: application/json' \
-d '{"filter":"kumod=trace"}'
The above is equivalent to:
except that an administrator can execute this ad-hoc to dynamically adjust the log filtering.
See kumo.set_diagnostic_log_filter for more information about diagnostic log filters.
The body of the post request must be a JSON object with a filter
field:
Kumo CLI
In addition to making raw API requests, you may use the kumo CLI:
Run kcli set-log-filter --help
for more informtion.