]> git.proxmox.com Git - ceph.git/blame - ceph/doc/mgr/dashboard_plugins/debug.inc.rst
import ceph quincy 17.2.4
[ceph.git] / ceph / doc / mgr / dashboard_plugins / debug.inc.rst
CommitLineData
9f95a23c
TL
1.. _dashboard-debug:
2
3Debug
4^^^^^
5
6This plugin allows to customize the behaviour of the dashboard according to the
2a845540
TL
7debug mode. It can be enabled, disabled or checked with the following command:
8
9.. prompt:: bash $
10
11 ceph dashboard debug status
12
13::
9f95a23c 14
9f95a23c 15 Debug: 'disabled'
2a845540
TL
16
17.. prompt:: bash $
18
19 ceph dashboard debug enable
20
21::
22
9f95a23c 23 Debug: 'enabled'
2a845540
TL
24
25.. prompt:: bash $
26
27 ceph dashboard debug disable
28
29::
30
9f95a23c
TL
31 Debug: 'disabled'
32
33By default, it's disabled. This is the recommended setting for production
34deployments. If required, debug mode can be enabled without need of restarting.
35Currently, disabled debug mode equals to CherryPy ``production`` environment,
36while when enabled, it uses ``test_suite`` defaults (please refer to
37`CherryPy Environments
38<https://docs.cherrypy.org/en/latest/config.html#environments>`_ for more
39details).
40
41It also adds request uuid (``unique_id``) to Cherrypy on versions that don't
42support this. It additionally prints the ``unique_id`` to error responses and
43log messages.