From 9578a1149c7a8313f55b59b27b68fd7125b69d15 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 4 Jul 2018 10:18:34 +0200 Subject: [PATCH 1/2] Fix occ log command Signed-off-by: Morris Jobke --- admin_manual/configuration_server/occ_command.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/admin_manual/configuration_server/occ_command.rst b/admin_manual/configuration_server/occ_command.rst index e19a9f085..094cacbd4 100644 --- a/admin_manual/configuration_server/occ_command.rst +++ b/admin_manual/configuration_server/occ_command.rst @@ -874,11 +874,11 @@ These commands view and configure your Nextcloud logging preferences:: log log:manage manage logging configuration - log:owncloud manipulate Nextcloud logging backend + log:file manipulate Nextcloud logging backend -Run ``log:owncloud`` to see your current logging status:: +Run ``log:file`` to see your current logging status:: - sudo -u www-data php occ log:owncloud + sudo -u www-data php occ log:file Log backend Nextcloud: enabled Log file: /opt/nextcloud/data/nextcloud.log Rotate at: disabled @@ -888,9 +888,9 @@ different log file path. Set your rotation by log file size in bytes with ``--rotate-size``; 0 disables rotation. ``log:manage`` sets your logging backend, log level, and timezone. The defaults -are ``owncloud``, ``Warning``, and ``UTC``. Available options are: +are ``file``, ``warning``, and ``UTC``. Available options are: -* --backend [owncloud, syslog, errorlog] +* --backend [file, syslog, errorlog] * --level [debug, info, warning, error] .. _maintenance_commands_label: From 5e9e7f842d78113b9e5515750d878c94c485728f Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 4 Jul 2018 10:20:11 +0200 Subject: [PATCH 2/2] Add new log backend in 14 Signed-off-by: Morris Jobke --- admin_manual/configuration_server/occ_command.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin_manual/configuration_server/occ_command.rst b/admin_manual/configuration_server/occ_command.rst index 094cacbd4..10c99fc9b 100644 --- a/admin_manual/configuration_server/occ_command.rst +++ b/admin_manual/configuration_server/occ_command.rst @@ -890,7 +890,7 @@ different log file path. Set your rotation by log file size in bytes with ``log:manage`` sets your logging backend, log level, and timezone. The defaults are ``file``, ``warning``, and ``UTC``. Available options are: -* --backend [file, syslog, errorlog] +* --backend [file, syslog, errorlog, systemd] * --level [debug, info, warning, error] .. _maintenance_commands_label: