chore(sync): mirror docs from openclaw/openclaw@0df90d9b8d
This commit is contained in:
parent
db3e009e5e
commit
6f552ebb21
@ -1,5 +1,5 @@
|
||||
{
|
||||
"repository": "openclaw/openclaw",
|
||||
"sha": "7ac23eeeb58100601710efb3101f2af6ab0be4d0",
|
||||
"syncedAt": "2026-05-01T21:59:33.967Z"
|
||||
"sha": "0df90d9b8d5c4b67ca3e583fafef4a5163ed4a70",
|
||||
"syncedAt": "2026-05-01T22:15:28.527Z"
|
||||
}
|
||||
|
||||
@ -41,6 +41,9 @@ openclaw logs --follow
|
||||
raise the file log level.
|
||||
- To capture verbose-only details in file logs, set `logging.level` to `debug` or
|
||||
`trace`.
|
||||
- Trace logging also includes diagnostic timing summaries for selected hot paths,
|
||||
such as plugin tool factory preparation. See
|
||||
[/tools/plugin#slow-plugin-tool-setup](/tools/plugin#slow-plugin-tool-setup).
|
||||
|
||||
## Console capture
|
||||
|
||||
|
||||
@ -334,6 +334,37 @@ do not run in live chat traffic, check these first:
|
||||
Gateway session/status surfaces and, when debugging provider payloads, start
|
||||
the Gateway with `--raw-stream --raw-stream-path <path>`.
|
||||
|
||||
### Slow plugin tool setup
|
||||
|
||||
If agent turns appear to stall while preparing tools, enable trace logging and
|
||||
check for plugin tool factory timing lines:
|
||||
|
||||
```bash
|
||||
openclaw config set logging.level trace
|
||||
openclaw logs --follow
|
||||
```
|
||||
|
||||
Look for:
|
||||
|
||||
```text
|
||||
[trace:plugin-tools] factory timings ...
|
||||
```
|
||||
|
||||
The summary lists total factory time and the slowest plugin tool factories,
|
||||
including plugin id, declared tool names, result shape, and whether the tool is
|
||||
optional. Slow lines are promoted to warnings when a single factory takes at
|
||||
least 1s or total plugin tool factory prep takes at least 5s.
|
||||
|
||||
If one plugin dominates the timing, inspect its runtime registrations:
|
||||
|
||||
```bash
|
||||
openclaw plugins inspect <plugin-id> --runtime --json
|
||||
```
|
||||
|
||||
Then update, reinstall, or disable that plugin. Plugin authors should move
|
||||
expensive dependency loading behind the tool execution path instead of doing it
|
||||
inside the tool factory.
|
||||
|
||||
### Duplicate channel or tool ownership
|
||||
|
||||
Symptoms:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user