← Tools code.scorpiox.net

scorpiox-logger debug

scorpiox-logger is a real-time log viewer designed for scorpiox coding sessions. It attaches to an active session and streams log output as it happens, allowing developers and operators to monitor agent activity, debug issues, and inspect the flow of operations. Unlike scorpiox-printlogs which dumps historical logs, scorpiox-logger provides a live, tailing view that continuously updates.

Linux x64 Linux ARM64 macOS ARM64 Windows x64

⚙️ Flags & Options

Flag Short Description Takes Value
This tool has no configurable flags. It operates automatically by attaching to the current or specified session.

📖 Usage Examples

Attach to the current session
$ scorpiox-logger
[10:31:02] session abc123 started
[10:31:03] provider: claude_code (opus)
[10:31:04] reading CLAUDE.md...
[10:31:05] tool call: Bash — ls -la
[10:31:06] tokens in: 1284  out: 326
Pipe log output to a file for later analysis
$ scorpiox-logger > session_debug.log 2>&1
Filter logs with grep for specific events
$ scorpiox-logger | grep 'tool call'
[10:31:05] tool call: Bash — ls -la
[10:31:12] tool call: ReadFile — src/main.c
[10:31:18] tool call: EditFile — src/main.c
Monitor alongside another terminal session
$ # In terminal 1: run scorpiox normally
sx "fix the build"

# In terminal 2: watch logs in real-time
scorpiox-logger

🔧 Source & Build Info

Source File
scorpiox/scorpiox-logger.c
Lines of Code
275
Dependencies
libsxutil

🔗 Related Tools