| Server IP : 195.190.166.214 / Your IP : 216.73.216.146 Web Server : Apache System : Linux sh14.ticino.com 4.18.0-553.124.4.el8_10.x86_64 #1 SMP Fri May 15 04:14:14 EDT 2026 x86_64 User : fbimmo ( 1076) PHP Version : 8.2.31 Disable Function : exec,passthru,shell_exec,system,show_source,popen,proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /etc/logrotate.d/ |
Upload File : |
# 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
}