TaskFlow
DashboardFreewriteWhiteboardsProjectsCRMTasksNotificationsSettingsAgent TowerAPI Docs
OpenClaw Docs
?

User

Member

Caricamento in corso...

Home
Progetti
Task
Notifiche
CRM

    OpenClaw

    Documentation Mirror

    Documentation Overview

    Docs

    Auth credential semantics
    Scheduled tasks
    Hooks
    Automation & tasks
    Standing orders
    Task flow
    Background tasks
    BlueBubbles
    Broadcast groups
    Channel routing
    Discord
    Feishu
    Google Chat
    Group messages
    Groups
    iMessage
    Chat channels
    IRC
    LINE
    Channel location parsing
    Matrix
    Matrix migration
    Matrix push rules for quiet previews
    Mattermost
    Microsoft Teams
    Nextcloud Talk
    Nostr
    Pairing
    QA channel
    QQ bot
    Signal
    Slack
    Synology Chat
    Telegram
    Tlon
    Channel troubleshooting
    Twitch
    WeChat
    WhatsApp
    Yuanbao
    Zalo
    Zalo personal
    CI pipeline
    ACP
    Agent
    Agents
    Approvals
    Backup
    Browser
    Channels
    Clawbot
    `openclaw commitments`
    Completion
    Config
    Configure
    Cron
    Daemon
    Dashboard
    Devices
    Directory
    DNS
    Docs
    Doctor
    Flows (redirect)
    Gateway
    Health
    Hooks
    CLI reference
    Inference CLI
    Logs
    MCP
    Memory
    Message
    Migrate
    Models
    Node
    Nodes
    Onboard
    Pairing
    Plugins
    Proxy
    QR
    Reset
    Sandbox CLI
    Secrets
    Security
    Sessions
    Setup
    Skills
    Status
    System
    `openclaw tasks`
    TUI
    Uninstall
    Update
    Voicecall
    Webhooks
    Wiki
    Active memory
    Agent runtime
    Agent loop
    Agent runtimes
    Agent workspace
    Gateway architecture
    Channel docking
    Inferred commitments
    Compaction
    Context
    Context engine
    Delegate architecture
    Dreaming
    Experimental features
    Features
    Markdown formatting
    Memory overview
    Builtin memory engine
    Honcho memory
    QMD memory engine
    Memory search
    Messages
    Model failover
    Model providers
    Models CLI
    Multi-agent routing
    OAuth
    OpenClaw App SDK
    Presence
    QA overview
    Matrix QA
    Command queue
    Steering queue
    Retry policy
    Session management
    Session pruning
    Session tools
    SOUL.md personality guide
    Streaming and chunking
    System prompt
    Timezones
    TypeBox
    Typing indicators
    Usage tracking
    Date and time
    Node + tsx crash
    Diagnostics flags
    Authentication
    Background exec and process tool
    Bonjour discovery
    Bridge protocol
    CLI backends
    Configuration — agents
    Configuration — channels
    Configuration — tools and custom providers
    Configuration
    Configuration examples
    Configuration reference
    Diagnostics export
    Discovery and transports
    Doctor
    Gateway lock
    Health checks
    Heartbeat
    Gateway runbook
    Local models
    Gateway logging
    Multiple gateways
    Network model
    OpenAI chat completions
    OpenResponses API
    OpenShell
    OpenTelemetry export
    Gateway-owned pairing
    Prometheus metrics
    Gateway protocol
    Remote access
    Remote gateway setup
    Sandbox vs tool policy vs elevated
    Sandboxing
    Secrets management
    Secrets apply plan contract
    Security audit checks
    Security
    Tailscale
    Tools invoke API
    Troubleshooting
    Trusted proxy auth
    Debugging
    Environment variables
    FAQ
    FAQ: first-run setup
    FAQ: models and auth
    GPT-5.5 / Codex agentic parity
    GPT-5.5 / Codex parity maintainer notes
    Help
    Scripts
    Testing
    Testing: live suites
    General troubleshooting
    OpenClaw
    Ansible
    Azure
    Bun (experimental)
    ClawDock
    Release channels
    DigitalOcean
    Docker
    Docker VM runtime
    exe.dev
    Fly.io
    GCP
    Hetzner
    Hostinger
    Install
    Installer internals
    Kubernetes
    macOS VMs
    Migration guide
    Migrating from Claude
    Migrating from Hermes
    Nix
    Node.js
    Northflank
    Oracle Cloud
    Podman
    Railway
    Raspberry Pi
    Render
    Uninstall
    Updating
    Logging
    Network
    Audio and voice notes
    Camera capture
    Image and media support
    Nodes
    Location command
    Media understanding
    Talk mode
    Node troubleshooting
    Voice wake
    Pi integration architecture
    Pi development workflow
    Android app
    Platforms
    iOS app
    Linux app
    Gateway on macOS
    Canvas
    Gateway lifecycle
    macOS dev setup
    Health checks (macOS)
    Menu bar icon
    macOS logging
    Menu bar
    Peekaboo bridge
    macOS permissions
    Remote control
    macOS signing
    Skills (macOS)
    Voice overlay
    Voice wake (macOS)
    WebChat (macOS)
    macOS IPC
    macOS app
    Windows
    Plugin internals
    Plugin architecture internals
    Building plugins
    Plugin bundles
    Codex Computer Use
    Codex harness
    Community plugins
    Plugin compatibility
    Google Meet plugin
    Plugin hooks
    Plugin manifest
    Memory LanceDB
    Memory wiki
    Message presentation
    Agent harness plugins
    Building channel plugins
    Channel turn kernel
    Plugin entry points
    Plugin SDK migration
    Plugin SDK overview
    Building provider plugins
    Plugin runtime helpers
    Plugin setup and config
    Plugin SDK subpaths
    Plugin testing
    Skill workshop plugin
    Voice call plugin
    Webhooks plugin
    Zalo personal plugin
    OpenProse
    Alibaba Model Studio
    Anthropic
    Arcee AI
    Azure Speech
    Amazon Bedrock
    Amazon Bedrock Mantle
    Chutes
    Claude Max API proxy
    Cloudflare AI gateway
    ComfyUI
    Deepgram
    Deepinfra
    DeepSeek
    ElevenLabs
    Fal
    Fireworks
    GitHub Copilot
    GLM (Zhipu)
    Google (Gemini)
    Gradium
    Groq
    Hugging Face (inference)
    Provider directory
    Inferrs
    Inworld
    Kilocode
    LiteLLM
    LM Studio
    MiniMax
    Mistral
    Model provider quickstart
    Moonshot AI
    NVIDIA
    Ollama
    OpenAI
    OpenCode
    OpenCode Go
    OpenRouter
    Perplexity
    Qianfan
    Qwen
    Runway
    SGLang
    StepFun
    Synthetic
    Tencent Cloud (TokenHub)
    Together AI
    Venice AI
    Vercel AI gateway
    vLLM
    Volcengine (Doubao)
    Vydra
    xAI
    Xiaomi MiMo
    Z.AI
    Default AGENTS.md
    Release policy
    API usage and costs
    Credits
    Device model database
    Full release validation
    Memory configuration reference
    OpenClaw App SDK API design
    Prompt caching
    Rich output protocol
    RPC adapters
    SecretRef credential surface
    Session management deep dive
    AGENTS.md template
    BOOT.md template
    BOOTSTRAP.md template
    HEARTBEAT.md template
    IDENTITY template
    SOUL.md template
    TOOLS.md template
    USER template
    Tests
    Token use and costs
    Transcript hygiene
    Onboarding reference
    Contributing to the threat model
    Threat model (MITRE ATLAS)
    Formal verification (security models)
    Network proxy
    Agent bootstrapping
    Docs directory
    Getting started
    Docs hubs
    OpenClaw lore
    Onboarding (macOS app)
    Onboarding overview
    Personal assistant setup
    Setup
    Showcase
    Onboarding (CLI)
    CLI automation
    CLI setup reference
    ACP agents
    ACP agents — setup
    Agent send
    apply_patch tool
    Brave search
    Browser (OpenClaw-managed)
    Browser control API
    Browser troubleshooting
    Browser login
    WSL2 + Windows + remote Chrome CDP troubleshooting
    BTW side questions
    ClawHub
    Code execution
    Creating skills
    Diffs
    DuckDuckGo search
    Elevated mode
    Exa search
    Exec tool
    Exec approvals
    Exec approvals — advanced
    Firecrawl
    Gemini search
    Grok search
    Image generation
    Tools and plugins
    Kimi search
    LLM task
    Lobster
    Tool-loop detection
    Media overview
    MiniMax search
    Multi-agent sandbox and tools
    Music generation
    Ollama web search
    PDF tool
    Perplexity search
    Plugins
    Reactions
    SearXNG search
    Skills
    Skills config
    Slash commands
    Sub-agents
    Tavily
    Thinking levels
    Tokenjuice
    Trajectory bundles
    Text-to-speech
    Video generation
    Web search
    Web fetch
    Linux server
    Control UI
    Dashboard
    Web
    TUI
    WebChat

    OpenAPI Specs

    openapi
    TaskFlow
    docs/openclaw
    Original Docs

    Real-time Synchronized Documentation

    Last sync: 01/05/2026 07:02:50

    Note: This content is mirrored from docs.openclaw.ai and is subject to their terms and conditions.

    OpenClaw Docs

    v2.4.0 Production

    Last synced: Today, 22:00

    Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.

    Use this file to discover all available pages before exploring further.

    Gateway logging

    Logging

    For a user-facing overview (CLI + Control UI + config), see /logging.

    OpenClaw has two log “surfaces”:

    • Console output (what you see in the terminal / Debug UI).
    • File logs (JSON lines) written by the gateway logger.

    File-based logger

    • Default rolling log file is under
      text
      /tmp/openclaw/
      (one file per day):
      text
      openclaw-YYYY-MM-DD.log
      • Date uses the gateway host's local timezone.
    • Active log files rotate at
      text
      logging.maxFileBytes
      (default: 100 MB), keeping up to five numbered archives and continuing to write a fresh active file.
    • The log file path and level can be configured via
      text
      ~/.openclaw/openclaw.json
      :
      • text
        logging.file
      • text
        logging.level

    The file format is one JSON object per line.

    The Control UI Logs tab tails this file via the gateway (

    text
    logs.tail
    ). CLI can do the same:

    bash
    openclaw logs --follow

    Verbose vs. log levels

    • File logs are controlled exclusively by
      text
      logging.level
      .
    • text
      --verbose
      only affects console verbosity (and WS log style); it does not raise the file log level.
    • To capture verbose-only details in file logs, set
      text
      logging.level
      to
      text
      debug
      or
      text
      trace
      .

    Console capture

    The CLI captures

    text
    console.log/info/warn/error/debug/trace
    and writes them to file logs, while still printing to stdout/stderr.

    You can tune console verbosity independently via:

    • text
      logging.consoleLevel
      (default
      text
      info
      )
    • text
      logging.consoleStyle
      (
      text
      pretty
      |
      text
      compact
      |
      text
      json
      )

    Redaction

    OpenClaw can mask sensitive tokens before log or transcript output leaves the process. This logging redaction policy is applied at console, file-log, OTLP log-record, and session transcript text sinks, so matching secret values are masked before JSONL lines or messages are written to disk.

    • text
      logging.redactSensitive
      :
      text
      off
      |
      text
      tools
      (default:
      text
      tools
      )
    • text
      logging.redactPatterns
      : array of regex strings (overrides defaults)
      • Use raw regex strings (auto
        text
        gi
        ), or
        text
        /pattern/flags
        if you need custom flags.
      • Matches are masked by keeping the first 6 + last 4 chars (length >= 18), otherwise
        text
        ***
        .
      • Defaults cover common key assignments, CLI flags, JSON fields, bearer headers, PEM blocks, popular token prefixes, and payment credential field names such as card number, CVC/CVV, shared payment token, and payment credential.

    Some safety boundaries always redact regardless of

    text
    logging.redactSensitive
    . That includes Control UI tool-call events,
    text
    sessions_history
    tool output, diagnostics support exports, provider error observations, exec approval command display, and Gateway WebSocket protocol logs. These surfaces may still use
    text
    logging.redactPatterns
    as additional patterns, but
    text
    redactSensitive: "off"
    does not make them emit raw secrets.

    Gateway WebSocket logs

    The gateway prints WebSocket protocol logs in two modes:

    • Normal mode (no
      text
      --verbose
      )
      : only “interesting” RPC results are printed:
      • errors (
        text
        ok=false
        )
      • slow calls (default threshold:
        text
        >= 50ms
        )
      • parse errors
    • Verbose mode (
      text
      --verbose
      )
      : prints all WS request/response traffic.

    WS log style

    text
    openclaw gateway
    supports a per-gateway style switch:

    • text
      --ws-log auto
      (default): normal mode is optimized; verbose mode uses compact output
    • text
      --ws-log compact
      : compact output (paired request/response) when verbose
    • text
      --ws-log full
      : full per-frame output when verbose
    • text
      --compact
      : alias for
      text
      --ws-log compact

    Examples:

    bash
    # optimized (only errors/slow) openclaw gateway # show all WS traffic (paired) openclaw gateway --verbose --ws-log compact # show all WS traffic (full meta) openclaw gateway --verbose --ws-log full

    Console formatting (subsystem logging)

    The console formatter is TTY-aware and prints consistent, prefixed lines. Subsystem loggers keep output grouped and scannable.

    Behavior:

    • Subsystem prefixes on every line (e.g.
      text
      [gateway]
      ,
      text
      [canvas]
      ,
      text
      [tailscale]
      )
    • Subsystem colors (stable per subsystem) plus level coloring
    • Color when output is a TTY or the environment looks like a rich terminal (
      text
      TERM
      /
      text
      COLORTERM
      /
      text
      TERM_PROGRAM
      ), respects
      text
      NO_COLOR
    • Shortened subsystem prefixes: drops leading
      text
      gateway/
      +
      text
      channels/
      , keeps last 2 segments (e.g.
      text
      whatsapp/outbound
      )
    • Sub-loggers by subsystem (auto prefix + structured field
      text
      { subsystem }
      )
    • text
      logRaw()
      for QR/UX output (no prefix, no formatting)
    • Console styles (e.g.
      text
      pretty | compact | json
      )
    • Console log level separate from file log level (file keeps full detail when
      text
      logging.level
      is set to
      text
      debug
      /
      text
      trace
      )
    • WhatsApp message bodies are logged at
      text
      debug
      (use
      text
      --verbose
      to see them)

    This keeps existing file logs stable while making interactive output scannable.

    Related

    • Logging
    • OpenTelemetry export
    • Diagnostics export

    © 2024 TaskFlow Mirror

    Powered by TaskFlow Sync Engine