{
  "title": "show all WS traffic (full meta)",
  "content": "openclaw gateway --verbose --ws-log full\n```\n\n## Console formatting (subsystem logging)\n\nThe console formatter is **TTY-aware** and prints consistent, prefixed lines.\nSubsystem loggers keep output grouped and scannable.\n\n* **Subsystem prefixes** on every line (e.g. `[gateway]`, `[canvas]`, `[tailscale]`)\n* **Subsystem colors** (stable per subsystem) plus level coloring\n* **Color when output is a TTY or the environment looks like a rich terminal** (`TERM`/`COLORTERM`/`TERM_PROGRAM`), respects `NO_COLOR`\n* **Shortened subsystem prefixes**: drops leading `gateway/` + `channels/`, keeps last 2 segments (e.g. `whatsapp/outbound`)\n* **Sub-loggers by subsystem** (auto prefix + structured field `{ subsystem }`)\n* **`logRaw()`** for QR/UX output (no prefix, no formatting)\n* **Console styles** (e.g. `pretty | compact | json`)\n* **Console log level** separate from file log level (file keeps full detail when `logging.level` is set to `debug`/`trace`)\n* **WhatsApp message bodies** are logged at `debug` (use `--verbose` to see them)\n\nThis keeps existing file logs stable while making interactive output scannable.",
  "code_samples": [],
  "headings": [
    {
      "level": "h2",
      "text": "Console formatting (subsystem logging)",
      "id": "console-formatting-(subsystem-logging)"
    }
  ],
  "url": "llms-txt#show-all-ws-traffic-(full-meta)",
  "links": []
}