diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-02-19 16:14:26 +0300 |
---|---|---|
committer | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-02-19 16:14:26 +0300 |
commit | 574efb990cbfda210fdd72dd0808397a0f6b0a54 (patch) | |
tree | 9455ebd9f6a73c77d83f72ce5b22a4a52a695c72 /docs | |
parent | 6008dec91d9decad026053841a213c6b8a367050 (diff) | |
parent | 4c729554f1f3b53b25b54980d4a1e3a89fac2af3 (diff) |
Merge remote-tracking branch 'origin/2.7' into master
Diffstat (limited to 'docs')
-rw-r--r-- | docs/modules/ROOT/pages/troubleshooting.adoc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/modules/ROOT/pages/troubleshooting.adoc b/docs/modules/ROOT/pages/troubleshooting.adoc index 3e1463dc8..23e9fe6d3 100644 --- a/docs/modules/ROOT/pages/troubleshooting.adoc +++ b/docs/modules/ROOT/pages/troubleshooting.adoc @@ -118,6 +118,26 @@ owncloud --logdir /tmp/owncloud_logs --logexpire 48 Adding the `--logdebug` flag increases the verbosity of the generated log files. +==== Logging in the Console + +If the ownCloud client isn't able to start and immediately crashes the first two options are not available. +Therefore it might need to be necessary to start the ownCloud client using the command line in order to be see the error message + +On Linux and Mac simply open the terminal and run: +``` +owncloud --logfile - --logflush +``` + +On Windows open a PowerShell and run the following command: + +``` +& 'C:\Program Files\ownCloud\owncloud.exe' --logfile - --logflush | Write-Host +``` + +Make sure to copy the whole command and adjust the path to your `owncloud.exe`, if you have chosen to install the client in a different path. + +To further increase the verbosity of the output you can also combine these commands with the `--logdebug` argument. + ==== Control Log Content Thanks to the Qt framework, logging can be controlled at run-time through the `QT_LOGGING_RULES` environment variable. |