Update troubleshooting instructions with the newly added config file options.

Signed-off-by: Camila <hello@camila.codes>
This commit is contained in:
Camila 2020-09-08 15:00:28 +02:00 committed by Camila (Rebase PR Action)
parent 5adb720630
commit fecc62b7e1

View file

@ -177,6 +177,21 @@ issue the following command:
nextcloud --logdir /tmp/nextcloud_logs --logexpire 48 nextcloud --logdir /tmp/nextcloud_logs --logexpire 48
``` ```
Alternatively, you can add the following to the configuration file:
```
logDebug=true
logExpire=<hours>
logDir=<dir>
```
Once you restart the client, you will find the log file in the ``<dir>`` defined in ``logDir``.
.. note:: You will find the configuration file in the following locations:
* Microsoft Windows systems: ``%APPDATA%\Nextcloud\nextcloud.cfg``
* macOS systems: ``$HOME/Library/Preferences/Nextcloud/nextcloud.cfg``
* Linux distributions: ``$HOME/.config/Nextcloud/nextcloud.cfg``
Nextcloud server Log File Nextcloud server Log File
~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~