Here is the output:
pi@emonpi:~$ sudo /usr/sbin/logrotate -v /etc/logrotate.conf
reading config file /etc/logrotate.conf
including /etc/logrotate.d
reading config file 00_defaults
reading config file 00_olddir
olddir is now /var/log.old
reading config file alternatives
reading config file apache2
reading config file apt
reading config file btmp
reading config file certbot
reading config file dpkg
reading config file emoncms
olddir is now /var/log.old/emoncms
reading config file emonhub
olddir is now /var/log.old/emonhub
reading config file log2ram
reading config file mosquitto
reading config file mysql-server
reading config file redis-server
reading config file rsyslog
reading config file ufw
reading config file wtmp
Reading state from file: /var/lib/logrotate/status
Allocating hash table for state file, size 64 entries
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Handling 18 logs
rotating pattern: /var/log/logrotate/*.log 102400 bytes (7 rotations)
empty log files are not rotated, log files >= 512000 are rotated earlier, old logs are removed
considering log /var/log/logrotate/logrotate.log
Now: 2020-05-25 09:49
Last rotated at 2020-05-24 00:00
log does not need rotating (log size is below the 'size' threshold)
rotating pattern: /var/log/alternatives.log monthly (12 rotations)
olddir is /var/log.old, empty log files are not rotated, log files >= 512000 are rotated earlier, old logs are removed
considering log /var/log/alternatives.log
Now: 2020-05-25 09:49
Last rotated at 2019-12-01 00:00
log does not need rotating (log is empty)
rotating pattern: /var/log/apache2/*.log after 1 days (14 rotations)
olddir is /var/log.old, empty log files are not rotated, log files >= 512000 are rotated earlier, old logs are removed
considering log /var/log/apache2/access.log
Now: 2020-05-25 09:49
Last rotated at 2019-11-16 22:00
log does not need rotating (log is empty)
considering log /var/log/apache2/error.log
Now: 2020-05-25 09:49
Last rotated at 2019-11-17 00:00
log does not need rotating (log is empty)
considering log /var/log/apache2/other_vhosts_access.log
Now: 2020-05-25 09:49
Last rotated at 2019-11-16 22:00
log does not need rotating (log is empty)
not running prerotate script, since no logs will be rotated
not running postrotate script, since no logs were rotated
rotating pattern: /var/log/apt/term.log monthly (12 rotations)
olddir is /var/log.old, empty log files are not rotated, log files >= 512000 are rotated earlier, old logs are removed
considering log /var/log/apt/term.log
Now: 2020-05-25 09:49
Last rotated at 2019-12-01 00:00
log does not need rotating (log is empty)
rotating pattern: /var/log/apt/history.log monthly (12 rotations)
olddir is /var/log.old, empty log files are not rotated, log files >= 512000 are rotated earlier, old logs are removed
considering log /var/log/apt/history.log
Now: 2020-05-25 09:49
Last rotated at 2019-12-01 00:00
log does not need rotating (log is empty)
rotating pattern: /var/log/btmp monthly (1 rotations)
olddir is /var/log.old, empty log files are rotated, log files >= 512000 are rotated earlier, old logs are removed
considering log /var/log/btmp
Now: 2020-05-25 09:49
Last rotated at 2020-05-01 00:00
log does not need rotating (log has been rotated at 2020-5-1 0:0, that is not month ago yet)
rotating pattern: /var/log/letsencrypt/*.log weekly (12 rotations)
olddir is /var/log.old, empty log files are rotated, log files >= 512000 are rotated earlier, old logs are removed
considering log /var/log/letsencrypt/letsencrypt.log
Now: 2020-05-25 09:49
Last rotated at 2020-05-24 00:00
log does not need rotating (log has been rotated at 2020-5-24 0:0, that is not week ago yet)
rotating pattern: /var/log/dpkg.log monthly (12 rotations)
olddir is /var/log.old, empty log files are not rotated, log files >= 512000 are rotated earlier, old logs are removed
considering log /var/log/dpkg.log
Now: 2020-05-25 09:49
Last rotated at 2019-12-01 00:00
log does not need rotating (log is empty)
rotating pattern: /var/log/emoncms/*.log weekly (4 rotations)
olddir is /var/log.old/emoncms, empty log files are rotated, log files >= 3145728 are rotated earlier, old logs are removed
considering log /var/log/emoncms/apache2-error.log
Now: 2020-05-25 09:49
Last rotated at 2020-05-24 00:00
log does not need rotating (log has been rotated at 2020-5-24 0:0, that is not week ago yet)
considering log /var/log/emoncms/emoncms.log
Now: 2020-05-25 09:49
Last rotated at 2020-05-24 00:00
log does not need rotating (log has been rotated at 2020-5-24 0:0, that is not week ago yet)
considering log /var/log/emoncms/emonpiupdate.log
Now: 2020-05-25 09:49
Last rotated at 2020-05-24 00:00
log does not need rotating (log has been rotated at 2020-5-24 0:0, that is not week ago yet)
considering log /var/log/emoncms/emonupdate.log
Now: 2020-05-25 09:49
Last rotated at 2020-05-24 00:00
log does not need rotating (log has been rotated at 2020-5-24 0:0, that is not week ago yet)
considering log /var/log/emoncms/importbackup.log
Now: 2020-05-25 09:49
Last rotated at 2020-05-24 00:00
log does not need rotating (log has been rotated at 2020-5-24 0:0, that is not week ago yet)
considering log /var/log/emoncms/wificheck.log
Now: 2020-05-25 09:49
Last rotated at 2020-05-24 00:00
log does not need rotating (log has been rotated at 2020-5-24 0:0, that is not week ago yet)
rotating pattern: /var/log/emonhub/emonhub.log weekly (4 rotations)
olddir is /var/log.old/emonhub, empty log files are rotated, log files >= 3145728 are rotated earlier, old logs are removed
considering log /var/log/emonhub/emonhub.log
Now: 2020-05-25 09:49
Last rotated at 2020-05-24 00:00
log does not need rotating (log has been rotated at 2020-5-24 0:0, that is not week ago yet)
rotating pattern: /var/log/log2ram.log
after 1 days (7 rotations)
olddir is /var/log.old, empty log files are not rotated, log files >= 512000 are rotated earlier, old logs are removed
considering log /var/log/log2ram.log
Now: 2020-05-25 09:49
Last rotated at 2020-05-25 00:00
log does not need rotating (log has been rotated at 2020-5-25 0:0, that is not day ago yet)
rotating pattern: /var/log/mosquitto/mosquitto.log 102400 bytes (7 rotations)
olddir is /var/log.old, empty log files are rotated, log files >= 512000 are rotated earlier, old logs are removed
considering log /var/log/mosquitto/mosquitto.log
Now: 2020-05-25 09:49
Last rotated at 2019-11-16 22:00
log does not need rotating (log size is below the 'size' threshold)
rotating pattern: /var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log /var/log/mysql/mariadb-slow.log /var/log/mysql/error.log after 1 days (7 rotations)
olddir is /var/log.old, empty log files are rotated, log files >= 512000 are rotated earlier, old logs are removed
considering log /var/log/mysql/mysql.log
log /var/log/mysql/mysql.log does not exist -- skipping
considering log /var/log/mysql/mysql-slow.log
log /var/log/mysql/mysql-slow.log does not exist -- skipping
considering log /var/log/mysql/mariadb-slow.log
log /var/log/mysql/mariadb-slow.log does not exist -- skipping
considering log /var/log/mysql/error.log
Now: 2020-05-25 09:49
Last rotated at 2020-05-25 00:00
log does not need rotating (log has been rotated at 2020-5-25 0:0, that is not day ago yet)
not running postrotate script, since no logs were rotated
rotating pattern: /var/log/redis/redis-server*.log weekly (12 rotations)
olddir is /var/log.old, empty log files are not rotated, log files >= 512000 are rotated earlier, old logs are removed
considering log /var/log/redis/redis-server.log
Now: 2020-05-25 09:49
Last rotated at 2020-05-19 00:00
log does not need rotating (log has been rotated at 2020-5-19 0:0, that is not week ago yet)
rotating pattern: /var/log/syslog
after 1 days (7 rotations)
olddir is /var/log.old, empty log files are not rotated, log files >= 512000 are rotated earlier, old logs are removed
considering log /var/log/syslog
Now: 2020-05-25 09:49
Last rotated at 2020-05-25 00:00
log does not need rotating (log has been rotated at 2020-5-25 0:0, that is not day ago yet)
rotating pattern: /var/log/mail.info
/var/log/mail.warn
/var/log/mail.err
/var/log/mail.log
/var/log/daemon.log
/var/log/kern.log
/var/log/auth.log
/var/log/user.log
/var/log/lpr.log
/var/log/cron.log
/var/log/debug
/var/log/messages
weekly (4 rotations)
olddir is /var/log.old, empty log files are not rotated, log files >= 512000 are rotated earlier, old logs are removed
considering log /var/log/mail.info
log /var/log/mail.info does not exist -- skipping
considering log /var/log/mail.warn
log /var/log/mail.warn does not exist -- skipping
considering log /var/log/mail.err
log /var/log/mail.err does not exist -- skipping
considering log /var/log/mail.log
log /var/log/mail.log does not exist -- skipping
considering log /var/log/daemon.log
Now: 2020-05-25 09:49
Last rotated at 2020-05-24 00:00
log does not need rotating (log has been rotated at 2020-5-24 0:0, that is not week ago yet)
considering log /var/log/kern.log
Now: 2020-05-25 09:49
Last rotated at 2020-05-24 00:00
log does not need rotating (log has been rotated at 2020-5-24 0:0, that is not week ago yet)
considering log /var/log/auth.log
Now: 2020-05-25 09:49
Last rotated at 2020-05-24 00:00
log does not need rotating (log has been rotated at 2020-5-24 0:0, that is not week ago yet)
considering log /var/log/user.log
Now: 2020-05-25 09:49
Last rotated at 2020-05-24 00:00
log does not need rotating (log has been rotated at 2020-5-24 0:0, that is not week ago yet)
considering log /var/log/lpr.log
log /var/log/lpr.log does not exist -- skipping
considering log /var/log/cron.log
log /var/log/cron.log does not exist -- skipping
considering log /var/log/debug
Now: 2020-05-25 09:49
Last rotated at 2020-05-24 00:00
log does not need rotating (log has been rotated at 2020-5-24 0:0, that is not week ago yet)
considering log /var/log/messages
Now: 2020-05-25 09:49
Last rotated at 2020-05-24 00:00
log does not need rotating (log has been rotated at 2020-5-24 0:0, that is not week ago yet)
not running postrotate script, since no logs were rotated
rotating pattern: /var/log/ufw.log
weekly (4 rotations)
olddir is /var/log.old, empty log files are not rotated, log files >= 512000 are rotated earlier, old logs are removed
considering log /var/log/ufw.log
Now: 2020-05-25 09:49
Last rotated at 2020-05-24 00:00
log does not need rotating (log has been rotated at 2020-5-24 0:0, that is not week ago yet)
not running postrotate script, since no logs were rotated
rotating pattern: /var/log/wtmp monthly (1 rotations)
olddir is /var/log.old, empty log files are rotated, only log files >= 1048576 bytes are rotated, log files >= 512000 are rotated earlier, old logs are removed
considering log /var/log/wtmp
Now: 2020-05-25 09:49
Last rotated at 2019-10-17 09:00
log does not need rotating ('minsize' directive is used and the log size is smaller than the minsize value)