/etc/logrotate.d
NameSizeModeActions
apache1950640editdlrm
btmp1300644editdlrm
chrony1600644editdlrm
comet_backup1400644editdlrm
comet_backup_jobs_helper2510644editdlrm
dnf880644editdlrm
dpkg1120644editdlrm
ea-php74-php-fpm2570644editdlrm
ea-php82-php-fpm2570644editdlrm
ea-php83-php-fpm2570644editdlrm
exim4050644editdlrm
firewalld930644editdlrm
imunify-core21670644editdlrm
imunify360-antivirus10890644editdlrm
kvm_stat1620644editdlrm
lfd1720644editdlrm
mariadb19520644editdlrm
modsecurity_logs2770644editdlrm
named5140640editdlrm
nscd_logs1800644editdlrm
sssd2890644editdlrm
sw-engine1140644editdlrm
syslog2260644editdlrm
wp-toolkit1630644editdlrm
wp-toolkit-action-logs00644editdlrm
wtmp1450644editdlrm
Edit: /etc/logrotate.d/imunify360-antivirus (1089B)
# Logrotate configuration for logs managed by imunify-antivirus package. # This file is installed by the imunify-antivirus package. /var/log/imunify360/aibolit_actions.log /var/log/imunify360/mds_actions.log { # Rotate daily, or sooner if size exceeds 50MB (checked when logrotate runs) daily maxsize 50M # Keep rotated files for 3 days maxage 3 # Add datetime to rotated filename # Note: CentOS 7 logrotate doesn't support %H%M%S, using %s (unix timestamp) for uniqueness # Rotated files will have following names: aibolit_actions.log-20260107-1767805468.gz dateext dateformat -%Y%m%d-%s # Don't error if log file is missing missingok # Don't rotate empty files notifempty # Copy and truncate instead of moving the log file # This allows the service to keep writing without restart copytruncate # Compress rotated files with gzip. # I would prefer to use zst when it is available, # but this requires conditional compression and postrotate # script, what makes config more complex. compress }