PATH:
etc
/
logrotate.d
/var/log/waagent.log { # Old versions of log files are compressed with gzip by default. compress # Rotate log files > 20 MB, and keep last 50 archived files. With an compression ratio ranging from 5-10%, The # archived files would take an average of around 50-100 MB. Even for extremely chatty agent, the average size of # the compressed files would not go beyond ~2 MB per day. size 20M rotate 50 # Add date as extension when rotating logs dateext # Formatting the date extension to YYYY-MM-DD-SSSSSSS format. logrotate does not provide hours, mins and seconds # option. Adding the %s (system clock epoch time) to differentiate rotated log files within the same day. dateformat -%Y-%m-%d-%s # Do not rotate the log if it is empty notifempty # If the log file is missing, go on to the next one without issuing an error message. missingok }
[+]
..
[-] yum
[edit]
[-] samba
[edit]
[-] wpa_supplicant
[edit]
[-] bootlog
[edit]
[-] waagent.logrotate
[edit]
[-] syslog
[edit]
[-] psacct
[edit]
[-] chrony
[edit]
[-] firewalld
[edit]
[-] named
[edit]
[-] ea-php74-php-fpm
[edit]
[-] ea-php80-php-fpm
[edit]
[-] mysql
[edit]
[-] exim
[edit]
[-] ea-php81-php-fpm
[edit]
[-] apache
[edit]
[-] ea-php82-php-fpm
[edit]
[-] ea-php83-php-fpm
[edit]
[-] dpkg
[edit]
[-] modsecurity_logs
[edit]
[-] nscd_logs
[edit]