7 Commits

Author SHA1 Message Date
Joel Krauska
0c89b3ec22 use sys.executable 2025-11-21 12:06:50 -08:00
Joel Krauska
b86af326af improve migrations and fix logging problem with mqtt 2025-11-04 16:27:18 -08:00
Joel Krauska
e343d6aa15 mvrun work 2025-11-03 20:13:36 -08:00
Óscar García Amor
74369deaea Improves arguments in mvrun.py 2025-11-03 20:07:34 -08:00
Joel Krauska
e25ff22127 Add Ruff formatting and pre-commit hooks
Configure Ruff as the code formatter and linter with pre-commit hooks.
  Applied automatic formatting fixes across the entire codebase including:
  - Import sorting and organization
  - Code style consistency (spacing, line breaks, indentation)
  - String quote normalization
  - Removal of trailing whitespace and unnecessary blank lines
2025-10-03 20:38:37 -07:00
Joel Krauska
2723022dd5 Add structured logging and improved startup/shutdown handling
- Add consistent logging format across all modules (timestamp, file:line, PID, level)
- Add startup logging for MQTT connection, web server startup with URL display
- Add MQTT message processing metrics (count and rate logging every 10k messages)
- Add graceful shutdown handling with signal handlers and PID file cleanup
- Add configurable HTTP access log toggle via config.ini (default: disabled)
- Replace print() statements with proper logger calls throughout
- Update .gitignore to exclude PID files (meshview-db.pid, meshview-web.pid)
- Update documentation for new logging configuration options

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-01 17:49:01 -07:00
madeofstown
e262c6dff8 mvrun.py changes 2025-03-09 21:20:55 -07:00