You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skills/agent-device/references/logs-and-debug.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,22 @@
2
2
3
3
Logging is off by default in normal flows. Enable it on demand for debugging windows. App output is written to a session-scoped file so agents can grep it instead of loading full logs into context.
4
4
5
+
## Data Handling
6
+
7
+
- Default app logs are stored under `~/.agent-device/sessions/<session>/app.log`.
8
+
- Replay scripts saved with `--save-script` are written to the explicit path you provide.
9
+
- Log files may contain sensitive runtime data; review before sharing and clean up when finished.
10
+
- Use `AGENT_DEVICE_APP_LOG_REDACT_PATTERNS` to redact sensitive patterns at write time when needed.
11
+
12
+
## Retention and Cleanup
13
+
14
+
- Keep logging scoped to active debug windows (`logs clear --restart` before repro, `logs stop` after repro).
15
+
- Prefer bounded inspection (`grep -n`, `tail -50`) instead of reading full logs into context.
0 commit comments