Merge pull request #801 from nextcloud/bugfix/noid/fix-occ-log-command

Fix occ log command
This commit is contained in:
Morris Jobke 2018-07-04 10:55:40 +02:00 committed by GitHub
commit 9d6ebfef70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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, systemd]
* --level [debug, info, warning, error]
.. _maintenance_commands_label: