REST changes around logging

This commit is contained in:
Jakob Borg
2015-11-04 17:06:11 +00:00
parent a40ee17ea3
commit ecb7d0bb51
4 changed files with 68 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
POST /rest/system/debug
=======================
.. versionadded:: 0.12.0
Enables or disables debugging for specified facilities. Give one or both of
``enable`` and ``disable`` query parameters, with comma separated facility
names. To disable debugging of the beacon and discovery packages, and enable it
for config and db:
.. code-block:: bash
$ curl -H X-API-Key:abc123 -X POST 'http://localhost:8385/rest/system/debug?disable=beacon,discovery&enable=config,db'