Skip to content

Commit

Permalink
Document how to override the log level with occ
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
  • Loading branch information
ChristophWurst authored and backportbot[bot] committed Nov 15, 2021
1 parent b1f1b7c commit f169cbf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions admin_manual/configuration_server/occ_command.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ occ command Directory
* :ref:`command_line_upgrade_label`
* :ref:`two_factor_auth_label`
* :ref:`disable_user_label`
* `Debugging`_

.. _http_user_label:

Expand Down Expand Up @@ -1467,3 +1468,12 @@ Use the following command to enable the user again::
sudo -u www-data php occ user:enable <username>

Note that once users are disabled, their connected browsers will be disconnected.

.. _occ_debugging:

Debugging
---------

In certain situations it's necessary to generate debugging information, e.g. before submitting a bug report. You can run ``occ`` with debug logging::

sudo -u www-data NC_loglevel=0 php occ -h

0 comments on commit f169cbf

Please sign in to comment.