Check Logs banner
olegiv olegiv

Check Logs

Development community

Description

Check application logs for errors and recent activity. Execute the following steps: 1. Determine the log location: - Development: ./logs/analyzer.log - Production: /opt/logwatch-ai/logs/analyzer.log 2. Check if log file exists: ```bash ls -lh ./logs/analyzer.log ``` 3. Show the last 50 lines: ```bash tail -50 ./logs/analyzer.log ``` 4. Search for errors: ```bash grep -i error ./logs/analyzer.log | tail -20 ``` 5. Search for warnings: ```bash grep -i w

Installation

Installs to ~/.claude/commands/olegiv-logwatch-ai-go-check-logs.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/olegiv/logwatch-ai-go/HEAD/.claude/commands/check-logs.md -o ~/.claude/commands/olegiv-logwatch-ai-go-check-logs.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository