hermes-logging
Skill4 starsChanged 7 months agoMITView on GitHub
Use when managing logs, debugging issues, or analyzing Hermes behavior. Covers: hermes logs CLI, log files (agent.log, errors.log, gateway.log), log levels (DEBUG/INFO/WARNING/ERROR), log rotation (max_size_mb, backup_count), log filtering, log analysis. Triggers on: log, logs, logging, trace, debug output, error log.
In this repository22 other files it gives its agents.
- hermes-channelsSkill
- hermes-cliSkill
- hermes-conceptsSkill
- hermes-configSkill
- hermes-cronSkill
- hermes-delegationSkill
- hermes-gatewaySkill
- hermes-hooksSkill
- hermes-installSkill
- hermes-masterSkill
- hermes-mcpSkill
- hermes-memorySkill
- hermes-platformsSkill
- hermes-providersSkill
- hermes-securitySkill
- hermes-skill-authoringSkill
- hermes-skillsSkill
- hermes-soulSkill
- hermes-toolsSkill
- hermes-troubleshootingSkill
- hermes-voiceSkill
- hermitdoc-onboardingSkill
The file
Files
Hermes Logging Reference
Hermes logs via the hermes logs CLI. No manual file access needed.
Log Files
| Log | Contents |
agent (default) | General agent activity |
errors | Error stack traces |
gateway | Messaging platform events |
list | Show all available log files with sizes |
Log CLI
# Default (agent.log, last 50 lines)
hermes logs
# Specific log
hermes logs agent
hermes logs errors
hermes logs gateway
# Line count
hermes logs -n 100
# Follow in real time (like tail -f)
hermes logs -f
# Minimum log level
hermes logs --level DEBUG
hermes logs --level INFO
hermes logs --level WARNING
hermes logs --level ERROR
# Filter by session ID
hermes logs --session abc123
# Filter by time
hermes logs --since 1h
hermes logs --since 30m
hermes logs --since 2d
# Filter by component
hermes logs --component gateway
hermes logs --component agent
hermes logs --component tools
hermes logs --component cli
hermes logs --component cron
# List available logs
hermes logs listLog Configuration
# ~/.hermes/config.yaml
logging:
level: INFO # DEBUG, INFO, WARNING, ERROR
max_size_mb: 5 # rotate when file exceeds this
backup_count: 3 # keep last N rotated filesSet via CLI:
hermes config set logging.level DEBUG
hermes config set logging.max_size_mb 10Log Analysis Patterns
# All errors
hermes logs errors --level ERROR
# Recent gateway issues
hermes logs gateway --level WARNING -n 100
# Tool execution
hermes logs --component tools --level DEBUG
# Specific session
hermes logs --session session-2026-05-18-abc123
# Since last hour
hermes logs -f --since 1hLog Rotation
Logs rotate automatically based on max_size_mb. Old logs are compressed and kept based on backup_count.
For manual rotation management, use standard tools on the log directory.
References
hermes-troubleshooting/— using logs to diagnose issueshermes-cli/— log CLI commandshermes-config/— logging config keys
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

