• English
  • Server tracing

    The server enables tracing at info level by default and writes startup/shutdown, one outcome per turn, and warnings/errors to ~/.soma/logs/server.log ($SOMA_HOME/logs/server.log when overridden). The directory is created automatically; logs append across restarts without ANSI colors or rotation. The startup URL remains on stdout. Successful polling requests produce no logs at this level. RUST_LOG=debug enables HTTP request spans, response latency, and turn starts; request timing is disabled otherwise. Steps and streaming chunks are not traced. Request bodies, headers, query strings, and conversation output are not logged. Use RUST_LOG to adjust verbosity or disable diagnostics:

    RUST_LOG=debug pnpm exec soma web
    RUST_LOG=off pnpm exec soma web
    tail -f "${SOMA_HOME:-$HOME/.soma}/logs/server.log"