Matthew Raymer
340e718199
feat(logging): enhance SQLite logging and IPC handler management
- Add Winston-based structured logging system with:
- Separate console and file output formats
- Custom SQLite and migration loggers
- Configurable log levels and verbosity
- Log rotation and file management
- Type-safe logger extensions
- Improve IPC handler management:
- Add handler registration tracking
- Implement proper cleanup before re-registration
- Fix handler registration conflicts
- Add better error handling for IPC operations
- Add migration logging controls:
- Configurable via DEBUG_MIGRATIONS env var
- Reduced console noise while maintaining file logs
- Structured migration status reporting
Security:
- Add proper log file permissions (0o755)
- Implement log rotation to prevent disk space issues
- Add type safety for all logging operations
- Prevent handler registration conflicts
Dependencies:
- Add winston for enhanced logging
- Remove deprecated @types/winston
This change improves debugging capabilities while reducing console noise
and fixing IPC handler registration issues that could cause database
operation failures.
2025-06-03 13:05:40 +00:00
..
2025-05-30 14:01:24 +00:00
2025-05-30 14:01:24 +00:00
2025-06-03 13:05:40 +00:00
2025-05-30 14:01:24 +00:00
2025-05-31 12:17:58 +00:00
2025-05-30 14:01:24 +00:00
2025-05-30 14:01:24 +00:00
2025-06-03 13:05:40 +00:00
2025-06-03 13:05:40 +00:00
2025-05-30 14:01:24 +00:00