Skip to content

Commit

Permalink
chore: update based on review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
wuwentao committed Jan 7, 2025
1 parent 581a2f7 commit 089e918
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions doc/debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

you can use below two methods to enable debug log.

edit `configuration.yaml` and reboot HA is therecommended method.
edit `configuration.yaml` and reboot HA is the recommended method.

### method 1: edit `configuration.yaml`

Expand Down Expand Up @@ -44,7 +44,7 @@ edit `configuration.yaml` and reboot HA is therecommended method.
midealocal: debug
```

> Tips: this mode not required reboot, but it can't capture device startup error log, recommend to edit `configuration.yaml` file to enable debug mode.
Tips: this mode doesn't require reboot, but it can't capture device startup error log, so is still recommended to edit `configuration.yaml` file to enable debug mode.

4. Trigger debug log with some action with bug or error
5. Download full debug log file via HA web UI ( `Settings --> System --> Logs` )
Expand Down
4 changes: 2 additions & 2 deletions doc/debug_hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
midealocal: debug
```

> 说明:此方法不需要重启HA,但是不能捕获开启启动以后的很多错误日志, 强烈推荐使用编辑`configuration.yaml`的方法。
> 说明:此方法不需要重启HA,但是不能捕获开机启动以后的很多错误日志, 强烈推荐使用编辑`configuration.yaml`的方法。

4. 支持有bug或者error产生的动作,触发debug log
4. 执行有bug或者error产生的动作,触发debug log
5. 进入`设置 --> 系统 --> 日志`, 点击下载按钮,下载完整debug log

## 修改源代码进行测试
Expand Down

0 comments on commit 089e918

Please sign in to comment.