-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Review debug log output sections and formatting.
- Loading branch information
Showing
2 changed files
with
15 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ For issues with your remote storage user account credentials, please instead wri | |
[Open a new ticket](https://github.com/iterate-ch/cyberduck/issues/new/choose) with a description of what you have done and what went wrong. Make sure to look or search for existing issues first. If you have trouble connecting to a server or your login credentials are not valid, try to resolve the issue with the assistance of your hosting service provider. | ||
|
||
```{note} | ||
Discuss features and issues you are having in the [Cyberduck Google Group](https://github.com/iterate-ch/cyberduck/discussions). For issues with the registration key, please send an mail to [[email protected]](mailto:[email protected]). | ||
Discuss features and issues you are having in [GitHub Discussions](https://github.com/iterate-ch/cyberduck/discussions). For issues with the registration key, please send an email to [[email protected]](mailto:[email protected]). | ||
``` | ||
|
||
```{warning} | ||
|
@@ -28,75 +28,35 @@ Please be aware that you are possibly using our software at no charge if you hav | |
`````{tabs} | ||
````{group-tab} macOS | ||
Log output can be found in the `cyberduck.log` file in`~/Library/Logs/Cyberduck`. You can also reveal the file by clicking on the _Show_ button within the Cyberduck preferences _Connection_ tab. | ||
Alternatively, you can find `cyberduck.log` in *Console.app* (Open from `/Applications/Utilities`) under `Reports → Log Reports → cyberduck.log`. | ||
Log output can be found in the `cyberduck.log` file in`~/Library/Logs/Cyberduck`. Select _Show_ in _Cyberduck → Preferences → Connection_ to reveal the log file. Alternatively, you can find `cyberduck.log` in *Console.app* (Open from `/Applications/Utilities`) under `Reports → Log Reports → cyberduck.log`. | ||
```{image} _images/Console.app.png | ||
:alt: Console.app | ||
:width: 600px | ||
``` | ||
```` | ||
````{group-tab} Windows | ||
Log output can be found in the `cyberduck.log` file in `%AppData%\cyberduck`. You can also reveal the file by clicking on the *Show* button within the Mountain Duck *Preferences Connection* tab. The file is named *cyberduck.log*. | ||
```` | ||
````` | ||
|
||
### Debug Log | ||
|
||
To enable debug logging tick the corresponding checkmark in the Cyberduck *Preferences Connection* tab. You can reach the logging output by clicking on the *Show* button within the same Cyberduck *Preferences* section. The file is called *cyberduck.log*. | ||
|
||
Alternatively this can be configured using the following command line options. | ||
|
||
````{tabs} | ||
```{group-tab} macOS | ||
To enable debug logging open a *Terminal.app* window and enter | ||
defaults write ~/Library/Preferences/ch.sudo.cyberduck.plist logging debug | ||
Reset the logging configuration with | ||
`defaults delete ~/Library/Preferences/ch.sudo.cyberduck.plist logging` | ||
Restart Cyberduck for any logging configuration change to take effect. | ||
``` | ||
```{group-tab} Windows | ||
Debug logging can be enabled with a [hidden setting](preferences.md#hidden-configuration-options). As there is no user interface for this yet you need to add the setting manually. If not existing yet you have to create the file [`%AppData%\Cyberduck\default.properties`](faq.md#preferences-and-application-support-files-location) and then add the property as follows: | ||
### Transcript | ||
`logging=debug` | ||
``` | ||
```` | ||
|
||
### Additional Log Outputs | ||
|
||
`````{tabs} | ||
````{tab} Transcript | ||
You can only access the transcript which will log protocol request and responses. It's particular useful for protocols using HTTP. Open a *Terminal.app* window and enter | ||
You can access the transcript which will log protocol request and responses from the command line particularly useful for protocols using HTTP. Open a *Terminal.app* window and enter | ||
`log stream --predicate '(process == "Cyberduck") && (category == "transcript")' --level info` | ||
```{note} | ||
The transcript will be written in the *Terminal.app* window. Make sure to keep the window open after executing the command. | ||
``` | ||
```` | ||
````{tab} Heap Dump | ||
To create a heap dump of the Cyberduck process on macOS (in case of excessive memory usage for example) you can use `jmap` from the {download}`OpenJDK 13<https://github.com/AdoptOpenJDK/openjdk13-binaries/releases/download/jdk-13.0.2%2B8/OpenJDK13U-jdk_x64_mac_hotspot_13.0.2_8.pkg>`. | ||
```` | ||
````{group-tab} Windows | ||
`jmap -dump:file=cyberduck-dump.hprof [PID of Cyberduck process]` | ||
Log output can be found in the `cyberduck.log` file in `%AppData%\cyberduck`. Select _Show_ in _Cyberduck → Preferences → Connection_ to reveal the log file named *cyberduck.log*. | ||
```` | ||
````` | ||
|
||
### Debug Log | ||
|
||
To enable verbose log output select _Enable debug log_ in _Cyberduck → Preferences → Connection_. | ||
|
||
## Application Support Folder | ||
|
||
Inside the application support folder, the application saves files needed for their operations e.g. settings, log data, history files, etc. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters