The Centurion AI platform's design ensures we have full auditability, security monitoring, and compliance capabilities from day one of launch.
Centurion Logging Strategy – Production ReadyWe have implemented a centralized, structured logging system across the entire Centurion platform. This is a significant milestone as we approach product launch.Key Features:Single source of truth:
All components (FastAPI backend, Streamlit frontend, Graph/agent execution, service layer, Redis consumers, etc.) now use the same logging configuration located in services/logging_service_config.py.
Structured Human Readable: Logs are output in clean, searchable JSON format to logs/centurion.log while maintaining readable output in the console.
Log Rotation: Automatic file rotation (10MB files with backups) to prevent disk space issues.
Centralized Control: Everything is driven by .env variables (LOG_LEVEL, LOG_FORMAT, LOG_JSON, etc.).
Safe Development: STUB_FORWARDING=true mode allows full testing without requiring live SIEM or Onion connections.
External SIEM Integration (Ready for Production)The system is architected for seamless integration with any external SIEM (Splunk, Datadog, Elastic, Microsoft Sentinel, etc.):Toggle SIEM_ENABLED=true provide SIEM_ENDPOINT and SIEM_TOKEN.
Logs are forwarded asynchronously with retry logic (exponential backoff jitter).
Sensitive or high-volume logs can be filtered by level (SIEM_LOG_LEVEL=WARNING).
Optional Onion Daemon mode (ONION_FORWARD_ENABLED) allows logs to be routed through Tor hidden services for maximum isolation/privacy.