mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Merge pull request #1883 from nextcloud/wiswedel/adminAudit_clarification
added necessary log.condition documentation for admin_audit
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user