Skip to content

Commit 4a1dcee

Browse files
authored
Merge pull request #984 from Dasharo/add-dts-verbose-logs
Add documentation for DTS verbose logging
2 parents 4e17070 + 37e7005 commit 4a1dcee

File tree

2 files changed

+24
-18
lines changed

2 files changed

+24
-18
lines changed

docs/dasharo-tools-suite/documentation/features.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ When DTS is started, it has following options for the user to choose from:
3131
* **K** Launch SSH Server
3232
* **L** [Enable sending DTS
3333
logs](../../osf-trivia-list/dts.md#how-can-i-help-the-support-team-diagnose-my-problem-faster)
34-
* **V** [Enable verbose
35-
mode](../../osf-trivia-list/dts.md#how-can-i-help-the-support-team-diagnose-my-problem-faster)
3634

3735
## Dasharo zero-touch initial deployment
3836

docs/osf-trivia-list/dts.md

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -95,29 +95,35 @@ donating to access DTS SE with one year update support is 60EUR.
9595
## How can I help the support team diagnose my problem faster?
9696

9797
If you are having issues with functionalities provided by the DTS start menu,
98-
you can help by running it in verbose mode and providing logs.
99-
100-
!!! info
101-
102-
Verbose mode prints a lot of information on screen that starts with `+`
103-
sign. </br>
104-
If you can't reproduce the problem in this mode then you can also send us
105-
logs with verbose mode disabled.
98+
you can help by providing logs.
10699

107100
To do that, follow the instructions below:
108101

109102
1. Boot DTS.
110-
2. In the DTS menu enable verbose mode by pressing `V`.
111-
3. Enable sending logs by pressing `L`.
112-
4. Reproduce the problem.
113-
5. The logs will be sent automatically after exiting from the menu (entering
114-
shell, powering off the system or rebooting using the options in DTS menu).
103+
2. Enable sending logs by pressing `L`.
104+
3. Reproduce the problem.
105+
4. The logs will be sent automatically after exiting from the menu (entering
106+
shell, powering off the system or rebooting using the options in DTS menu) or
107+
after successful or failed update/install or failed firmware restore.
108+
109+
If you haven't enabled sending logs, then in case of failed
110+
update/install/restore you will be asked if you want to send them to 3mdeb:
111+
112+
```text
113+
Do you want to send console logs to 3mdeb? [n/y]: y
114+
```
115115

116116
!!! tip
117117

118118
If the automatic log submission does not work in your case, you can view and
119-
copy the logs manually from `/tmp/dts.log`, `/var/local/dts-err.log` and
120-
`/var/local/flashrom.log`.
119+
copy the logs manually from `/tmp/logs/dts*.log`, `/var/local/dts-err*.log`
120+
and `/var/local/flashrom.log`. Depending on your platform configuration and
121+
connection method there might be different amount of files e.g.
122+
123+
```sh
124+
bash-5.2# ls /tmp/logs/
125+
dts-verbose_tty1.log dts-verbose_ttyS0.log dts_tty1.log dts_ttyS0.log
126+
```
121127

122128
After collecting or automatically submitting logs, please report the problem by
123129
creating an issue on GitHub and/or "Dasharo Premier Support" Matrix channel. If
@@ -127,4 +133,6 @@ issue via email instead.
127133
Make sure to provide details that will help us reproduce the issue, such as the
128134
machine model, Dasharo and DTS version, etc., in accordance with the sections of
129135
the provided
130-
[template](https://github.com/Dasharo/dasharo-issues/issues/new/choose).
136+
[template](https://github.com/Dasharo/dasharo-issues/issues/new/choose) and in
137+
case of automatically submitted logs please also include time and date when
138+
those logs were sent.

0 commit comments

Comments
 (0)