Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layout improvement: Cyberduck support page #439

Merged
merged 2 commits into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 12 additions & 57 deletions cyberduck/support.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -25,82 +25,37 @@ Please be aware that you are possibly using our software at no charge if you hav

## Logging Output


```````{tabs}
``````{group-tab} macOS

`````{tabs}
````{tab} Log

Reveal the log output named `cyberduck.log` by choosing _Preferences → Connection → Log → Show_.

Alternatively, the `cyberduck.log` file can be found in `~/Library/Logs/Cyberduck`.

````
````{tab} Console.app
````{group-tab} macOS

You can easily `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
```

````
`````

**Transcript**
### 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.
```

````
````{group-tab} Windows

**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>`.

`jmap -dump:file=cyberduck-dump.hprof [PID of Cyberduck process]`

``````
``````{group-tab} Windows

Reveal the log output named `cyberduck.log` by choosing _Preferences → Connection → Log → Show_.

Alternatively, the `cyberduck.log` file can be found in `%AppData%\cyberduck`.

``````
```````

### Debug Logging Level
Enable debug logging by choosing _Preferences → Connection → Log → Enable debug 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
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 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:
````
`````

`logging=debug`
### Debug Log

```
````
To enable verbose log output select _Enable debug log_ in _Cyberduck → Preferences → Connection_.

## Application Support Folder

Expand Down
8 changes: 4 additions & 4 deletions mountainduck/support.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,25 @@ You can reach the application support folder by navigating to `%AppData%\Cyberdu
`````{tabs}
````{group-tab} macOS

Log output can be found in the `mountainduck.log` file in`~/Library/Logs/Mountain Duck`. You can easily reach this file in _Console.app_ (Open from `/Applications/Utilities`) under `Reports → Log Reports → mountainduck.log`. You can also reveal the file by clicking on the _Show_ button within the Mountain Duck preferences _Connection_ tab.
Log output can be found in the `mountainduck.log` file in`~/Library/Logs/Mountain Duck`. You can easily reach this file in _Console.app_ (Open from `/Applications/Utilities`) under `Reports → Log Reports → mountainduck.log`. Select _Show_ in _Mountain Duck → Preferences → Connection_ to reveal the log file.

````
````{group-tab} Windows

Log output can be found in the `mountainduck.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 *mountainduck.log*.
Log output can be found in the `mountainduck.log` file in `%AppData%\cyberduck`. Select _Show_ in _Mountain Duck → Preferences → Connection_ to reveal the log file named *mountainduck.log*.

````
`````

#### Debug Log

To enable debug logging tick the corresponding checkmark in the Mountain Duck *Preferences Connection* tab. You can reach the logging output by clicking on the *Show* button within the same Mountain Duck *Preferences* section. The file is called *mountainduck.log*.
To enable verbose log output select _Enable debug log_ in _Mountain Duck Preferences → Connection_.

#### Error Log

An error log is a record of critical errors that occur during the operation of the application or server. It can be a useful tool for troubleshooting.

It can be reached by clicking on the Show button within the Mountain Duck *Preferences Connection* tab. The file is named *mountainduck.error*.
It can be reached by clicking on the Show button within _Mountain Duck Preferences → Connection_. The file is named *mountainduck.error*.

### Feature Request

Expand Down
Loading