Thing I want to do:
I want to check the operation if logrotate is done correctly.

What I looked up:
I checked the operation check method on the above site.

I wanted to make the logrotate settings set in the production environment work the same in the verification environment, so I copied the following files in the production environment to the verification environment as they are.
Files under /etc/logrotate.d//etc/cron.daily/logrotate


logrotate -fv /etc/logrotate.conf

Execute the above command
If i can confirm that the log file is compressed according to the settings of the files under /etc/logrotate.d/ (this depends on the settings) and that cron is running at a later date, is it okay to judge that the operation check is OK? ..