Update troubleshooting instructions with the newly added config file options.
authorCamila <hello@camila.codes>
Tue, 8 Sep 2020 13:00:28 +0000 (15:00 +0200)
committerCamila (Rebase PR Action) <hello@camila.codes>
Tue, 8 Sep 2020 13:44:26 +0000 (13:44 +0000)
Signed-off-by: Camila <hello@camila.codes>
doc/troubleshooting.rst

index f5a1892ab4765d0d8e49b4773587b6b2c6ead75f..880aa82e7ba57577bcb1466f92262c71dd73bace 100644 (file)
@@ -177,6 +177,21 @@ issue the following command:
 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
 ~~~~~~~~~~~~~~~~~~~~~~~~~