Alexis Bruneteau
7af375f8c0
feat: Add comprehensive logging to backend for debugging blockchain and startup
Add structured logging throughout the backend:
- logging_config.py: Centralized logging configuration with colored output
- main.py: Enhanced startup logging showing initialization progress
- init_blockchain.py: Detailed blockchain initialization logging
- services.py: Election creation logging
Logging features:
- Emoji prefixes for different log levels (INFO, DEBUG, ERROR, etc.)
- Color-coded output for better visibility
- Timestamp and module information
- Exception stack traces on errors
- Separate loggers for different modules
This helps debug:
- Backend startup sequence
- Database initialization
- Blockchain election recording
- Service operations
- Configuration issues
2025-11-07 03:06:38 +01:00
..
2025-11-07 01:56:10 +01:00
2025-11-07 03:01:11 +01:00
2025-11-07 01:56:10 +01:00
2025-11-05 18:45:45 +01:00
2025-11-05 18:45:45 +01:00
2025-11-07 03:01:11 +01:00
2025-11-07 01:56:10 +01:00
2025-11-05 18:45:45 +01:00
2025-11-05 18:45:45 +01:00
2025-11-05 18:45:45 +01:00
2025-11-07 03:06:38 +01:00
2025-11-07 03:06:38 +01:00
2025-11-07 03:06:38 +01:00
2025-11-05 18:45:45 +01:00
2025-11-06 05:12:03 +01:00
2025-11-07 03:06:38 +01:00