mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
refactor: rename to openclaw
This commit is contained in:
@@ -41,13 +41,13 @@ Restart the gateway after changing flags.
|
||||
## Env override (one-off)
|
||||
|
||||
```bash
|
||||
CLAWDBOT_DIAGNOSTICS=telegram.http,telegram.payload
|
||||
OPENCLAW_DIAGNOSTICS=telegram.http,telegram.payload
|
||||
```
|
||||
|
||||
Disable all flags:
|
||||
|
||||
```bash
|
||||
CLAWDBOT_DIAGNOSTICS=0
|
||||
OPENCLAW_DIAGNOSTICS=0
|
||||
```
|
||||
|
||||
## Where logs go
|
||||
@@ -55,7 +55,7 @@ CLAWDBOT_DIAGNOSTICS=0
|
||||
Flags emit logs into the standard diagnostics log file. By default:
|
||||
|
||||
```
|
||||
/tmp/moltbot/moltbot-YYYY-MM-DD.log
|
||||
/tmp/openclaw/openclaw-YYYY-MM-DD.log
|
||||
```
|
||||
|
||||
If you set `logging.file`, use that path instead. Logs are JSONL (one JSON object per line). Redaction still applies based on `logging.redactSensitive`.
|
||||
@@ -65,22 +65,22 @@ If you set `logging.file`, use that path instead. Logs are JSONL (one JSON objec
|
||||
Pick the latest log file:
|
||||
|
||||
```bash
|
||||
ls -t /tmp/moltbot/moltbot-*.log | head -n 1
|
||||
ls -t /tmp/openclaw/openclaw-*.log | head -n 1
|
||||
```
|
||||
|
||||
Filter for Telegram HTTP diagnostics:
|
||||
|
||||
```bash
|
||||
rg "telegram http error" /tmp/moltbot/moltbot-*.log
|
||||
rg "telegram http error" /tmp/openclaw/openclaw-*.log
|
||||
```
|
||||
|
||||
Or tail while reproducing:
|
||||
|
||||
```bash
|
||||
tail -f /tmp/moltbot/moltbot-$(date +%F).log | rg "telegram http error"
|
||||
tail -f /tmp/openclaw/openclaw-$(date +%F).log | rg "telegram http error"
|
||||
```
|
||||
|
||||
For remote gateways, you can also use `moltbot logs --follow` (see [/cli/logs](/cli/logs)).
|
||||
For remote gateways, you can also use `openclaw logs --follow` (see [/cli/logs](/cli/logs)).
|
||||
|
||||
## Notes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user