Log Processing and Rotation

Updated

October 31, 2026

Log Processing and Rotation

Archiving and compressing rotated logs with zstd:

find /var/log/apps -type f -name "*.log" -mtime +7 -exec zstd --rm {} +