• Stefy Lanza (nextime / spora )'s avatar
    Add comprehensive logging module with rotating file handlers · 3975f23b
    Stefy Lanza (nextime / spora ) authored
    - Added logging module with rotating file handlers to main.py
    - Log files stored in /var/log/aisbf when launched by root
    - Log files stored in ~/.local/var/log/aisbf when launched by user
    - Automatic log directory creation if it doesn't exist
    - Rotating file handlers with 50MB max file size and 5 backup files
    - Separate log files for general logs (aisbf.log) and error logs (aisbf_error.log)
    - stdout and stderr output duplicated to rotating log files
    - Console logging for immediate feedback
    - Updated aisbf.sh script to redirect output to log files
    - Updated setup.py to include logging configuration in installed script
    - Updated CHANGELOG.md with logging feature documentation
    3975f23b
CHANGELOG.md 1.7 KB