From 6e00a3f5d897f82ee70c4a1f008abc21839c4132 Mon Sep 17 00:00:00 2001 From: j-ed Date: Tue, 12 Mar 2019 15:51:57 +0100 Subject: [PATCH] Added description of admin_audit/audit.log option. --- .../configuration_server/logging_configuration.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/admin_manual/configuration_server/logging_configuration.rst b/admin_manual/configuration_server/logging_configuration.rst index 653de2c4681..89752b60ae1 100644 --- a/admin_manual/configuration_server/logging_configuration.rst +++ b/admin_manual/configuration_server/logging_configuration.rst @@ -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