xiaohongshu
xiaohongshu
log-viewer
View and analyze WaveCap-SDR server logs, debug output, and error messages. Use when troubleshooting server issues, debugging API errors, monitoring SDR device status, or investigating capture/channel problems.
Full skill instructions
This skill provides tools to view, search, and analyze logs from the WaveCap-SDR server including API errors, SDR device messages, and debug output.
Use this skill when:
| Source | Description | Location |
|---|---|---|
| Server stdout | API requests, startup messages | Terminal/console |
| Server stderr | Errors, warnings, SoapySDR | Terminal/console |
| Debug log | Detailed error tracebacks | /tmp/wavecapsdr_error.log |
| SoapySDR | SDR driver messages | Embedded in stderr |
Check the debug error log for recent exceptions:
cat /tmp/wavecapsdr_error.log 2>/dev/null || echo "No error log found"
Or use the helper script:
PYTHONPATH=backend backend/.venv/bin/python .claude/skills/log-viewer/view_logs.py --errors
Check if the server is running and get process info:
PYTHONPATH=backend backend/.venv/bin/python .claude/skills/log-viewer/view_logs.py --status
Get recent API requests from server logs (if available):
PYTHONPATH=backend backend/.venv/bin/python .claude/skills/log-viewer/view_logs.py --requests
View SoapySDR-related messages:
PYTHONPATH=backend backend/.venv/bin/python .claude/skills/log-viewer/view_logs.py --sdr
Verify API is responding and check health endpoint:
curl -s http://127.0.0.1:8087/api/v1/health | jq
# View all available log info
python view_logs.py --all
# View only errors
python view_logs.py --errors
# View server status
python view_logs.py --status
# View recent API requests
python view_logs.py --requests
# View SDR device logs
python view_logs.py --sdr
# Specify custom port
python view_logs.py --port 8087 --all
# Filter by time (last N minutes)
python view_logs.py --errors --minutes 5
INFO: 127.0.0.1:12345 - "GET /api/v1/captures HTTP/1.1" 200 OK
INFO: 127.0.0.1:12345 - "PATCH /api/v1/captures/c1 HTTP/1.1" 500 Internal Server Error
[SOAPY] Using stream format: CF32
[DEBUG] Device RTLSDR: Available antennas: ('RX',)
--- 2025-11-22 12:34:56.789 ---
[ERROR] update_capture failed: Device timeout
Traceback (most recent call last):
...
Returns server health status.
{
"status": "healthy",
"captures": 2,
"channels": 2,
"devices": 3
}
Returns all captures with their current state and any error messages.
[
{
"id": "c1",
"state": "running",
"errorMessage": null
}
]
Returns detailed channel metrics including stream health.
Steps:
/tmp/wavecapsdr_error.log for tracebackSoapySDRUtil --findSteps:
Steps:
SKILL.md: This file - instructions for using the skillview_logs.py: Helper script for viewing and analyzing logsxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience