]>
Commit | Line | Data |
---|---|---|
9f95a23c TL |
1 | .. _dashboard-debug: |
2 | ||
3 | Debug | |
4 | ^^^^^ | |
5 | ||
6 | This plugin allows to customize the behaviour of the dashboard according to the | |
2a845540 TL |
7 | debug 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 | ||
33 | By default, it's disabled. This is the recommended setting for production | |
34 | deployments. If required, debug mode can be enabled without need of restarting. | |
35 | Currently, disabled debug mode equals to CherryPy ``production`` environment, | |
36 | while 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 | |
39 | details). | |
40 | ||
41 | It also adds request uuid (``unique_id``) to Cherrypy on versions that don't | |
42 | support this. It additionally prints the ``unique_id`` to error responses and | |
43 | log messages. |