From fecc62b7e120b628e2e94b7a31fa9463386de2ad Mon Sep 17 00:00:00 2001 From: Camila Date: Tue, 8 Sep 2020 15:00:28 +0200 Subject: [PATCH] Update troubleshooting instructions with the newly added config file options. Signed-off-by: Camila --- doc/troubleshooting.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/troubleshooting.rst b/doc/troubleshooting.rst index f5a1892ab..880aa82e7 100644 --- a/doc/troubleshooting.rst +++ b/doc/troubleshooting.rst @@ -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= +logDir= +``` + +Once you restart the client, you will find the log file in the ```` 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 ~~~~~~~~~~~~~~~~~~~~~~~~~