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:
aitbc
2026-04-02 13:54:58 +02:00
parent f1d508489c
commit a30fb90e5a
16 changed files with 19 additions and 15 deletions

View File

@@ -33,7 +33,7 @@ SyslogIdentifier=aitbc-mining-blockchain
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/var/lib/aitbc/data/blockchain /opt/aitbc/production/logs/blockchain
ReadWritePaths=/var/lib/aitbc/data/blockchain /var/log/aitbc/production/blockchain
# Mining performance
LimitNOFILE=65536