Merge pull request #1301 from nextcloud/backport/1300/stable14

[stable14] Added description of admin_audit/audit.log option.
This commit is contained in:
Morris Jobke 2019-03-12 18:23:49 +01:00 committed by GitHub
commit 57136757f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
Logging configuration
=====================
Use your Nextcloud log to review system status, or to help debug problems. You may adjust logging levels, and choose between using the Nextcloud log or your syslog.
Use your Nextcloud log to review system status, or to help debug problems. You may adjust logging levels, and choose between using the Nextcloud log or your syslog. If additional audit information is required, you can optionally activate the **admin_audit** app, which by default generates a separate audit.log file in the data directory.
Parameters
----------
@ -51,5 +51,14 @@ All log information will be sent to your default syslog daemon.
"logfile" => "",
"loglevel" => "3",
Admin audit log
---------------
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