feat: migrate logs to system location
✅ Log Migration - Moved repository logs to /var/log/aitbc/repository-logs - Moved production logs to /var/log/aitbc/production - Updated all code references to use /var/log/aitbc - Updated systemd services to use system logs - Removed logs from git tracking - Updated .gitignore for log files - Created proper system log structure - Set proper permissions for system logs ✅ System Compliance - All logs now in /var/log/aitbc (FHS compliant) - No log files in repository - Proper system-wide log location - Centralized log management ✅ Service Updates - Production services use /var/log/aitbc/production - SystemD services use /var/log/aitbc - All code references updated to system paths - Services restart and test successfully 🚀 AITBC logging now follows proper system standards!
This commit is contained in:
@@ -34,7 +34,7 @@ SyslogIdentifier=aitbc-real-marketplace
|
||||
NoNewPrivileges=true
|
||||
ProtectSystem=strict
|
||||
ProtectHome=true
|
||||
ReadWritePaths=/var/lib/aitbc/data/marketplace /opt/aitbc/production/logs/marketplace
|
||||
ReadWritePaths=/var/lib/aitbc/data/marketplace /var/log/aitbc/production/marketplace
|
||||
|
||||
# Marketplace performance
|
||||
LimitNOFILE=65536
|
||||
|
||||
Reference in New Issue
Block a user