added necessary log.condition documentation for admin_audit

Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
This commit is contained in:
Sascha Wiswedel 2020-03-13 14:49:22 +01:00 committed by backportbot[bot]
parent cbb5e0f7a6
commit 1db7074da3

View File

@ -57,13 +57,21 @@ All log information will be sent to your default syslog daemon.
Admin audit log
---------------
If ``loglevel`` in ``config.php`` is set to ``2`` or higher, audit logging needs to be triggered explicitly by adding the follwing setting to to ``config.php``:
::
'log.condition' => [
'apps' => ['admin_audit'],
],
If required, the name and path of the audit log file can be customized by using the following command:
::
occ config:app:set admin_audit logfile --value=/var/log/nextcloud/audit.log
.. _PHP date function: http://www.php.net/manual/en/function.date.php
Find detailed documentation on auditable events for enterprises in our `customer portal <https://portal.nextcloud.com/article/using-the-audit-log-44.html>`_.
.. _PHP date function: http://www.php.net/manual/en/function.date.php